diff options
-rw-r--r-- | configure.in | 3 | ||||
-rw-r--r-- | src/common.h | 8 |
2 files changed, 3 insertions, 8 deletions
diff --git a/configure.in b/configure.in index 1bc4a8a8..c84b692d 100644 --- a/configure.in +++ b/configure.in @@ -11,7 +11,6 @@ AM_MAINTAINER_MODE AC_ISC_POSIX AC_PROG_CC AC_PROG_CPP -AC_STDC_HEADERS AM_PROG_LIBTOOL AC_PATH_PROG(sedpath, sed) @@ -22,7 +21,7 @@ if test "x$enable_static" = "xno"; then AC_ERROR([Don't give --disable-static option to configure]) fi -AC_CHECK_HEADERS(string.h stdlib.h unistd.h dirent.h sys/ioctl.h sys/resource.h) +AC_CHECK_HEADERS(unistd.h dirent.h sys/ioctl.h sys/resource.h) # check posix headers.. AC_CHECK_HEADERS(sys/time.h sys/utsname.h regex.h) diff --git a/src/common.h b/src/common.h index 6db1c1bd..3c4f2723 100644 --- a/src/common.h +++ b/src/common.h @@ -16,12 +16,8 @@ #include <stddef.h> #include <stdarg.h> #include <ctype.h> -#ifdef HAVE_STRING_H -# include <string.h> -#endif -#ifdef HAVE_STDLIB_H -# include <stdlib.h> -#endif +#include <string.h> +#include <stdlib.h> #include <errno.h> #include <time.h> |