11 #ifndef LC_LINEBUF_LEN
12 #define LC_LINEBUF_LEN 1024
15 #ifdef HAVE_INTTYPES_H
33 #ifdef HAVE_SYS_STAT_H
36 #ifdef HAVE_SYS_TYPES_H
37 #include <sys/types.h>
42 #ifdef HAVE_ARPA_INET_H
43 #include <arpa/inet.h>
54 #ifdef HAVE_NETINET_IN_H
55 #include <netinet/in.h>
63 #ifdef HAVE_SYS_SOCKET_H
64 #include <sys/socket.h>
66 #ifdef TIME_WITH_SYS_TIME
70 #ifdef HAVE_SYS_TIME_H
80 #ifdef HAVE_LIBOPENNET
81 #define lc_fopen(path, mode) fopen_net(path, mode)
82 #define lc_fgets(buf, size, stream) fgets_net(buf, size, stream)
83 #define lc_feof(stream) feof_net(stream)
84 #define lc_fclose(stream) fclose_net(stream)
85 #define LC_FILE NETFILE
87 #define lc_fopen(path, mode) fopen(path, mode)
88 #define lc_fgets(buf, size, stream) fgets(buf, size, stream)
89 #define lc_feof(stream) feof(stream)
90 #define lc_fclose(stream) fclose(stream)