diff options
author | m0gg | 2007-01-23 23:21:45 +0000 |
---|---|---|
committer | m0gg | 2007-01-23 23:21:45 +0000 |
commit | 8e11dafec6b13a474bc883d404bcfdaa788922de (patch) | |
tree | 048514a0f9dc82cd99b02dfb6d1ee9d3a9476c48 | |
parent | e54dd109dc70b527e812c90d5b72c4d870823a7d (diff) | |
download | csoap-8e11dafec6b13a474bc883d404bcfdaa788922de.tar.gz csoap-8e11dafec6b13a474bc883d404bcfdaa788922de.tar.bz2 |
AIX patch (?)
-rwxr-xr-x | configure | 3 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | nanohttp/nanohttp-socket.c | 6 |
3 files changed, 8 insertions, 3 deletions
@@ -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 <sys/types.h> #endif +#ifdef HAVE_SYS_WAIT_H +#include <sys/wait.h> +#endif + #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif |