ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/include/stdinc.h
(Generate patch)

Comparing:
ircd-hybrid-7.2/include/stdinc.h (file contents), Revision 923 by michael, Mon Nov 12 19:15:27 2007 UTC vs.
ircd-hybrid-7.3/include/stdinc.h (file contents), Revision 1029 by michael, Sun Nov 8 13:10:50 2009 UTC

# Line 30 | Line 30
30  
31   #include "defaults.h"
32  
33 + #include <stddef.h>
34   #include <stdlib.h>
35   #include <string.h>
36  
# Line 47 | Line 48
48   #endif
49   #endif
50  
50 #ifdef HAVE_STDDEF_H
51 # include <stddef.h>
52 #else /* This is basically what stddef.h provides on most systems */
53 # ifndef NULL
54 #  define NULL ((void*)0)
55 # endif
56 # ifndef offsetof
57 #  define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
58 # endif
59 #endif
60
51   #ifdef HAVE_CRYPT_H
52   #include <crypt.h>
53   #endif
# Line 72 | Line 62
62   #include <time.h>
63   #include <fcntl.h>
64  
75 #ifdef HAVE_LIBGEN_H
76 #include <libgen.h>
77 #endif
78
65   #include <stdarg.h>
66   #include <signal.h>
67   #include <ctype.h>
68  
83 #ifdef _WIN32
84 #define PATH_MAX (MAX_PATH - 1)
85 #define WIN32_LEAN_AND_MEAN
86 #include <windows.h>
87 #include <winsock.h>
88 #else
69   #include <dirent.h>
70   #include <netdb.h>
71   #include <sys/socket.h>
# Line 93 | Line 73
73   #include <arpa/inet.h>
74   #include <sys/time.h>
75   #include <sys/file.h>
96 #endif
76  
77   #include <limits.h>
78  
# Line 121 | Line 100 | extern int errno;
100   #endif
101  
102   #include "inet_misc.h"
124
125 #ifdef _WIN32
126 #undef strcasecmp
127 #define strcasecmp stricmp
128 #endif
129
103   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)