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