From: michael Date: Mon, 29 Dec 2014 19:52:01 +0000 (+0000) Subject: - Removed configure header test for strings.h; removed strings.h header includes X-Git-Tag: 1.0.0beta2~16 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=b30873b2d87e63660b9c12ca3eac0b0ec3f2eb4e;p=hopm.git - Removed configure header test for strings.h; removed strings.h header includes git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5210 82007160-df01-0410-b94d-b575c5fd34c7 --- diff --git a/configure b/configure index 8090e2b..9ffd113 100755 --- a/configure +++ b/configure @@ -12103,7 +12103,7 @@ fi done -for ac_header in fcntl.h sys/time.h unistd.h strings.h +for ac_header in fcntl.h sys/time.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" diff --git a/configure.ac b/configure.ac index 5f33b9d..ca87bdd 100644 --- a/configure.ac +++ b/configure.ac @@ -36,7 +36,7 @@ dnl Checks for libraries. dnl Checks for header files. AC_CHECK_HEADERS(sys/poll.h, have_poll_sys_h=yes, have_sys_poll_h=no) -AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h strings.h) +AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_HEADER_TIME diff --git a/src/irc.c b/src/irc.c index 5588924..d6a534f 100644 --- a/src/irc.c +++ b/src/irc.c @@ -27,11 +27,6 @@ #include #include #include - -#ifdef HAVE_STRINGS_H -# include -#endif - #include #include #include diff --git a/src/libopm/configure b/src/libopm/configure index a3e5bbf..1dd2039 100755 --- a/src/libopm/configure +++ b/src/libopm/configure @@ -12087,7 +12087,7 @@ fi done -for ac_header in fcntl.h sys/time.h unistd.h strings.h +for ac_header in fcntl.h sys/time.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" diff --git a/src/libopm/configure.ac b/src/libopm/configure.ac index 7e2752a..d690792 100644 --- a/src/libopm/configure.ac +++ b/src/libopm/configure.ac @@ -25,7 +25,7 @@ AC_SUBST(LIBTOOL_DEPS) dnl Checks for header files. AC_CHECK_HEADERS(sys/poll.h, have_poll_sys_h=yes, have_sys_poll_h=no) -AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h strings.h) +AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h) dnl Checks for typedefs, structures, and compiler characteristics. AC_HEADER_TIME diff --git a/src/libopm/src/inet.c b/src/libopm/src/inet.c index 62add4d..7af8fdd 100644 --- a/src/libopm/src/inet.c +++ b/src/libopm/src/inet.c @@ -32,9 +32,6 @@ along with this program; if not, write to #include #include #include -#ifdef HAVE_STRINGS_H -# include -#endif #include #include #include diff --git a/src/stats.c b/src/stats.c index 7dcbaa7..45b7bd5 100644 --- a/src/stats.c +++ b/src/stats.c @@ -25,14 +25,7 @@ along with this program; if not, write to the Free Software #include #include #include - -#ifdef HAVE_STRINGS_H -# include -#endif - -#if HAVE_STRING_H -# include -#endif +#include #ifdef TIME_WITH_SYS_TIME # include