summaryrefslogtreecommitdiffstats
path: root/login-utils/su.c
diff options
context:
space:
mode:
authorJim Meyering1993-10-12 15:49:11 +0100
committerJim Meyering1993-10-12 15:49:11 +0100
commit217825fdd055d986be5326da86973cf4becb934b (patch)
treeeb0146fe69f1fed4f5b083f5cd11b5ad2442be09 /login-utils/su.c
parentmerge with 1.8.1b (diff)
downloadkernel-qcow2-util-linux-217825fdd055d986be5326da86973cf4becb934b.tar.gz
kernel-qcow2-util-linux-217825fdd055d986be5326da86973cf4becb934b.tar.xz
kernel-qcow2-util-linux-217825fdd055d986be5326da86973cf4becb934b.zip
merge with 1.8.1d
Diffstat (limited to 'login-utils/su.c')
-rw-r--r--login-utils/su.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/login-utils/su.c b/login-utils/su.c
index 7252a07e1..6f6a146f3 100644
--- a/login-utils/su.c
+++ b/login-utils/su.c
@@ -69,6 +69,17 @@
Written by 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 <getopt.h>
#include <sys/types.h>