diff options
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | lib/dep.c | 4 | ||||
-rw-r--r-- | lib/initd-list.c | 3 | ||||
-rw-r--r-- | lib/initd.c | 3 | ||||
-rw-r--r-- | lib/parse.c | 4 | ||||
-rw-r--r-- | lib/prov.c | 4 | ||||
-rw-r--r-- | lib/str.c | 4 | ||||
-rw-r--r-- | lib/strarg.c | 3 | ||||
-rw-r--r-- | test/tdep.c | 3 | ||||
-rw-r--r-- | test/tinitd-list.c | 3 | ||||
-rw-r--r-- | test/tinitd.c | 3 | ||||
-rw-r--r-- | test/tparse.c | 3 | ||||
-rw-r--r-- | test/tstr.c | 3 | ||||
-rw-r--r-- | test/tstrarg.c | 3 |
15 files changed, 43 insertions, 4 deletions
@@ -9,7 +9,9 @@ Makefile.in Makefile aclocal.m4 config.cache +config.h* config.log config.status configure libtool +stamp-h* diff --git a/configure.ac b/configure.ac index 000849d..2994e77 100644 --- a/configure.ac +++ b/configure.ac @@ -7,6 +7,8 @@ AC_DEFUN([AC_LIBTOOL_LANG_F77_CONFIG], [:]) AC_DEFUN([AC_LIBTOOL_LANG_GCJ_CONFIG], [:]) AC_PROG_LIBTOOL +AC_CONFIG_HEADERS([config.h]) + if test "x$GCC" = xyes; then CFLAGS="$CFLAGS -Wall" fi @@ -1,5 +1,7 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #define _GNU_SOURCE - #include <stdlib.h> #include <string.h> #include <error.h> diff --git a/lib/initd-list.c b/lib/initd-list.c index 737f83d..5217aa1 100644 --- a/lib/initd-list.c +++ b/lib/initd-list.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #include <stdlib.h> #include <error.h> #include <errno.h> diff --git a/lib/initd.c b/lib/initd.c index 6371238..05e9fcf 100644 --- a/lib/initd.c +++ b/lib/initd.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #include <stdlib.h> #include <string.h> #include <error.h> diff --git a/lib/parse.c b/lib/parse.c index d115ed3..dc0169f 100644 --- a/lib/parse.c +++ b/lib/parse.c @@ -1,7 +1,9 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #ifndef _GNU_SOURCE #define _GNU_SOURCE #endif - #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -1,5 +1,7 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #define _GNU_SOURCE - #include <stdlib.h> #include <string.h> #include <error.h> @@ -1,5 +1,7 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #define _GNU_SOURCE - #include <string.h> #include <error.h> #include <errno.h> diff --git a/lib/strarg.c b/lib/strarg.c index 3ad3767..9963501 100644 --- a/lib/strarg.c +++ b/lib/strarg.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #include <stdlib.h> #include <error.h> #include <errno.h> diff --git a/test/tdep.c b/test/tdep.c index 3cc0c86..b88919e 100644 --- a/test/tdep.c +++ b/test/tdep.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #include <stdio.h> #include <string.h> #include "dep.h" diff --git a/test/tinitd-list.c b/test/tinitd-list.c index 4609889..3c5ec80 100644 --- a/test/tinitd-list.c +++ b/test/tinitd-list.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #include <stdio.h> #include <stdlib.h> #include "initd.h" diff --git a/test/tinitd.c b/test/tinitd.c index 4a7b088..399c0b3 100644 --- a/test/tinitd.c +++ b/test/tinitd.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #include <stdio.h> #include <string.h> #include "initd.h" diff --git a/test/tparse.c b/test/tparse.c index ecf1d3a..7f8a067 100644 --- a/test/tparse.c +++ b/test/tparse.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #include <stdlib.h> #include <stdio.h> #include "initd.h" diff --git a/test/tstr.c b/test/tstr.c index 0e544db..a200b8c 100644 --- a/test/tstr.c +++ b/test/tstr.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #include <stdio.h> #include <string.h> #include "str.h" diff --git a/test/tstrarg.c b/test/tstrarg.c index 6a99693..2945536 100644 --- a/test/tstrarg.c +++ b/test/tstrarg.c @@ -1,3 +1,6 @@ +#ifdef HAVE_CONFIG_H +# include <config.h> +#endif #include <stdlib.h> #include <stdio.h> #include "str.h" |