| 41 |
41 |
| 42 /* netdb.h */ |
42 /* netdb.h */ |
| 43 extern struct hostent* wgaim_gethostbyname(const char *name); |
43 extern struct hostent* wgaim_gethostbyname(const char *name); |
| 44 #define gethostbyname( name ) \ |
44 #define gethostbyname( name ) \ |
| 45 wgaim_gethostbyname( ## name ## ) |
45 wgaim_gethostbyname( ## name ## ) |
| |
46 |
| |
47 /* netinet/in.h */ |
| |
48 #define ntohl( netlong ) \ |
| |
49 (unsigned int)ntohl( ## netlong ## ) |
| 46 |
50 |
| 47 /* string.h */ |
51 /* string.h */ |
| 48 extern char* wgaim_strerror( int errornum ); |
52 extern char* wgaim_strerror( int errornum ); |
| 49 #define hstrerror( herror ) \ |
53 #define hstrerror( herror ) \ |
| 50 wgaim_strerror( errno ) |
54 wgaim_strerror( errno ) |