Changeset 2542
- Timestamp:
- 07/16/08 19:23:29 (3 months ago)
- Location:
- zzuf/trunk
- Files:
-
- 3 modified
-
configure.ac (modified) (1 diff)
-
src/lib-fd.c (modified) (1 diff)
-
src/lib-stream.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/configure.ac
r2533 r2542 36 36 AC_SUBST(DLL_LDFLAGS) 37 37 38 AC_CHECK_HEADERS(windows.h winsock2.h io.h process.h unistd.h inttypes.h stdint.h getopt.h libc.h malloc.h dlfcn.h regex.h sys/cdefs.h sys/socket.h netinet/in.h sys/uio.h aio.h sys/mman.h sys/wait.h sys/resource.h sys/time.h endian.h)38 AC_CHECK_HEADERS(windows.h winsock2.h io.h process.h unistd.h inttypes.h stdint.h getopt.h libc.h malloc.h dlfcn.h regex.h sys/cdefs.h sys/socket.h netinet/in.h arpa/inet.h sys/uio.h aio.h sys/mman.h sys/wait.h sys/resource.h sys/time.h endian.h) 39 39 40 40 AC_CHECK_FUNCS(setenv waitpid setrlimit gettimeofday fork kill pipe _pipe) -
zzuf/trunk/src/lib-fd.c
r2530 r2542 49 49 #if defined HAVE_NETINET_IN_H 50 50 # include <netinet/in.h> 51 #endif 52 #if defined HAVE_ARPA_INET_H 53 # include <arpa/inet.h> 51 54 #endif 52 55 #if defined HAVE_SYS_UIO_H -
zzuf/trunk/src/lib-stream.c
r2533 r2542 19 19 #include "config.h" 20 20 21 #define _GNU_SOURCE /* for getline() and getdelim() */ 21 /* Needed for getline() and getdelim() */ 22 #define _GNU_SOURCE 23 24 #if defined HAVE___SREFILL || defined HAVE___FILBUF 25 # define HAVE_REFILL_STDIO 26 #endif 22 27 23 28 #if defined HAVE_STDINT_H … … 30 35 #include <stdio.h> 31 36 #include <sys/types.h> 32 #if defined HAVE_ __SREFILL&& defined HAVE_UNISTD_H37 #if defined HAVE_REFILL_STDIO && defined HAVE_UNISTD_H 33 38 # include <unistd.h> /* Needed for __srefill’s lseek() call */ 34 39 #endif … … 39 44 #include "fuzz.h" 40 45 #include "fd.h" 41 42 #if defined HAVE___SREFILL || defined HAVE___FILBUF43 # define HAVE_REFILL_STDIO44 #endif45 46 46 47 #if defined HAVE___SREFILL
