summaryrefslogtreecommitdiff
path: root/src/uname.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1993-10-12 14:49:11 +0000
committerJim Meyering <jim@meyering.net>1993-10-12 14:49:11 +0000
commit44c053f00889b41f3452b41ea679c211894d7856 (patch)
tree8884fda180cf100e7f292a9a90e90a584fa066ab /src/uname.c
parent9cfcec5b05d51fd2b2d72adb283b327b08ce868d (diff)
downloadcoreutils-44c053f00889b41f3452b41ea679c211894d7856.tar.xz
merge with 1.8.1d
Diffstat (limited to 'src/uname.c')
-rw-r--r--src/uname.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/uname.c b/src/uname.c
index 366e1e34a..236e0d557 100644
--- a/src/uname.c
+++ b/src/uname.c
@@ -28,6 +28,17 @@
David MacKenzie <djm@gnu.ai.mit.edu> */
+#ifdef HAVE_CONFIG_H
+#if defined (CONFIG_BROKETS)
+/* We use <config.h> instead of "config.h" so that a compilation
+ using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
+ (which it would do because it found this file in $srcdir). */
+#include <config.h>
+#else
+#include "config.h"
+#endif
+#endif
+
#include <stdio.h>
#include <sys/types.h>
#include <sys/utsname.h>