Changeset 21720 for branches/gcc-kmk/src/iphlpapi
- Timestamp:
- Oct 19, 2011, 11:26:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/gcc-kmk/src/iphlpapi/iphlwrap.h
r7973 r21720 2 2 #define __IPHLWRAP_H__ 3 3 4 #include <sys \socket.h>5 #include <sys \ioctl.h>4 #include <sys/socket.h> 5 #include <sys/ioctl.h> 6 6 #include <netdb.h> 7 #include <netinet \in.h>8 #include <netinet \tcp.h>7 #include <netinet/in.h> 8 #include <netinet/tcp.h> 9 9 #include <nerrno.h> 10 10 … … 34 34 35 35 return yyrc; 36 } 36 } 37 37 38 38 #undef ioctl … … 48 48 49 49 return yyrc; 50 } 50 } 51 51 #undef res_init 52 52 #define res_init _res_init … … 61 61 62 62 return yyrc; 63 } 63 } 64 64 65 65 #undef sock_init … … 75 75 76 76 return yyrc; 77 } 77 } 78 78 79 79 #undef sock_errno … … 86 86 psock_errno(a); 87 87 SetFS(sel); 88 } 88 } 89 89 90 90 #undef psock_errno … … 100 100 101 101 return yyrc; 102 } 102 } 103 103 104 104 #undef socket … … 114 114 115 115 return yyrc; 116 } 116 } 117 117 118 118 #undef soclose … … 128 128 129 129 return yyrc; 130 } 130 } 131 131 132 132 #undef so_cancel … … 142 142 143 143 return yyrc; 144 } 144 } 145 145 146 146 #undef gethostname … … 156 156 157 157 return yyrc; 158 } 158 } 159 159 160 160 #undef gethostbyname … … 170 170 171 171 return yyrc; 172 } 172 } 173 173 174 174 #undef gethostbyaddr 175 175 #define gethostbyaddr _gethostbyaddr 176 176 177 #endif 177 #endif 178 178 179 179
Note:
See TracChangeset
for help on using the changeset viewer.