From 8e11dafec6b13a474bc883d404bcfdaa788922de Mon Sep 17 00:00:00 2001 From: m0gg Date: Tue, 23 Jan 2007 23:21:45 +0000 Subject: AIX patch (?) --- configure | 3 ++- configure.ac | 2 +- nanohttp/nanohttp-socket.c | 6 +++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 5761cd9..af0cf74 100755 --- a/configure +++ b/configure @@ -18922,7 +18922,8 @@ fi -for ac_header in arpa/inet.h fcntl.h inttypes.h malloc.h netdb.h netinet/in.h stdint.h stdlib.h signal.h pthread.h string.h sys/socket.h time.h sys/time.h unistd.h io.h stdio.h stdarg.h errno.h ctype.h openssl/ssl.h openssl/rand.h openssl/err.h + +for ac_header in arpa/inet.h fcntl.h inttypes.h malloc.h netdb.h netinet/in.h stdint.h stdlib.h signal.h pthread.h string.h sys/socket.h sys/wait.h time.h sys/time.h unistd.h io.h stdio.h stdarg.h errno.h ctype.h openssl/ssl.h openssl/rand.h openssl/err.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if eval "test \"\${$as_ac_Header+set}\" = set"; then diff --git a/configure.ac b/configure.ac index 4b1f11b..45e4b9a 100644 --- a/configure.ac +++ b/configure.ac @@ -43,7 +43,7 @@ dnl checks for headers dnl AC_HEADER_STDC AC_HEADER_TIME -AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h malloc.h netdb.h netinet/in.h stdint.h stdlib.h signal.h pthread.h string.h sys/socket.h time.h sys/time.h unistd.h io.h stdio.h stdarg.h errno.h ctype.h openssl/ssl.h openssl/rand.h openssl/err.h]) +AC_CHECK_HEADERS([arpa/inet.h fcntl.h inttypes.h malloc.h netdb.h netinet/in.h stdint.h stdlib.h signal.h pthread.h string.h sys/socket.h sys/wait.h time.h sys/time.h unistd.h io.h stdio.h stdarg.h errno.h ctype.h openssl/ssl.h openssl/rand.h openssl/err.h]) dnl dnl Checks for typedefs, structures, and compiler characteristics. diff --git a/nanohttp/nanohttp-socket.c b/nanohttp/nanohttp-socket.c index 4980b0c..b5279aa 100644 --- a/nanohttp/nanohttp-socket.c +++ b/nanohttp/nanohttp-socket.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-socket.c,v 1.69 2006/12/01 10:56:00 m0gg Exp $ +* $Id: nanohttp-socket.c,v 1.70 2007/01/23 23:21:47 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -29,6 +29,10 @@ #include #endif +#ifdef HAVE_SYS_WAIT_H +#include +#endif + #ifdef HAVE_SYS_SOCKET_H #include #endif -- cgit v1.1-32-gdbae