From aa602a00ac2d8dfd137cd05a16e36451aff2ce27 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Fri, 14 Mar 2008 10:34:34 +0000 Subject: Do not check for standard C headers. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4761 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- configure.in | 3 +-- 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 #include #include -#ifdef HAVE_STRING_H -# include -#endif -#ifdef HAVE_STDLIB_H -# include -#endif +#include +#include #include #include -- cgit v1.2.3