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

Comparing:
ircd-hybrid/include/stdinc.h (file contents), Revision 1028 by michael, Sun Nov 8 13:03:38 2009 UTC vs.
ircd-hybrid/trunk/include/stdinc.h (file contents), Revision 1761 by michael, Fri Jan 18 19:21:39 2013 UTC

# Line 33 | Line 33
33   #include <stddef.h>
34   #include <stdlib.h>
35   #include <string.h>
36 + #include <stdint.h>
37 + #include <errno.h>
38  
39   #ifdef HAVE_STRTOK_R
40   # define strtoken(x, y, z) strtok_r(y, z, x)
# Line 40 | Line 42
42  
43   #include <sys/types.h>
44  
43 #ifdef HAVE_INTTYPES_H
44 #include <inttypes.h>
45 #else
46 #ifdef HAVE_STDINT_H
47 #include <stdint.h>
48 #endif
49 #endif
50
45   #ifdef HAVE_CRYPT_H
46   #include <crypt.h>
47   #endif
# Line 93 | Line 87
87   #include <sys/param.h>
88   #endif
89  
90 < #ifdef HAVE_ERRNO_H
91 < #include <errno.h>
90 > #ifdef PATH_MAX
91 > #define HYB_PATH_MAX PATH_MAX
92 > #else
93 > #define HYB_PATH_MAX 4096
94 > #endif
95 >
96 > #if 0 && __GNUC__
97 > #define AFP(a,b) __attribute__((format (printf, a, b)))
98   #else
99 < extern int errno;
99 > #define AFP(a,b)
100   #endif
101  
102 #include "inet_misc.h"
102   #endif

Diff Legend

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