diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-03-14 10:34:34 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-03-14 10:34:34 +0000 |
commit | aa602a00ac2d8dfd137cd05a16e36451aff2ce27 (patch) | |
tree | 46968907047da0e490cbe9c4eaff884b139b7f58 | |
parent | e1713c17cbf59ad13682f01e9b7b1907ad3a6078 (diff) | |
download | irssi-aa602a00ac2d8dfd137cd05a16e36451aff2ce27.zip |
Do not check for standard C headers.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4761 dbcabf3a-b0e7-0310-adc4-f8d773084564
-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> |