| 110 # include <netdb.h> |
110 # include <netdb.h> |
| 111 # include <signal.h> |
111 # include <signal.h> |
| 112 # include <unistd.h> |
112 # include <unistd.h> |
| 113 #endif |
113 #endif |
| 114 |
114 |
| 115 #ifndef MAXPATHLEN |
|
| 116 # define MAXPATHLEN 1024 |
|
| 117 #endif |
|
| 118 |
|
| 119 #ifndef HOST_NAME_MAX |
115 #ifndef HOST_NAME_MAX |
| 120 # define HOST_NAME_MAX 255 |
116 # define HOST_NAME_MAX 255 |
| 121 #endif |
117 #endif |
| 122 |
|
| 123 #define PATHSIZE 1024 |
|
| 124 |
118 |
| 125 #include <glib.h> |
119 #include <glib.h> |
| 126 #if !GLIB_CHECK_VERSION(2,4,0) |
120 #if !GLIB_CHECK_VERSION(2,4,0) |
| 127 # define G_MAXUINT32 ((guint32) 0xffffffff) |
121 # define G_MAXUINT32 ((guint32) 0xffffffff) |
| 128 #endif |
122 #endif |