Mercurial > dwindows
comparison dwcompat.h @ 1992:4bfcad4986ff
OS/2: Fix compilation error with Watcom C on OS/2.
timespec gets redefined when including sys/time.h
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 17 Sep 2019 21:49:36 +0000 |
parents | d83a86f5fe7f |
children | 07f1366a724c |
comparison
equal
deleted
inserted
replaced
1991:d83a86f5fe7f | 1992:4bfcad4986ff |
---|---|
261 #include <stddef.h> | 261 #include <stddef.h> |
262 #include <signal.h> | 262 #include <signal.h> |
263 #include <fcntl.h> | 263 #include <fcntl.h> |
264 | 264 |
265 #if !defined(__WIN32__) && !defined(WINNT) | 265 #if !defined(__WIN32__) && !defined(WINNT) |
266 #ifndef __WATCOMC__ | |
266 #include <sys/time.h> | 267 #include <sys/time.h> |
268 #endif | |
267 #include <sys/socket.h> | 269 #include <sys/socket.h> |
268 #include <sys/un.h> | 270 #include <sys/un.h> |
269 #include <netinet/in.h> | 271 #include <netinet/in.h> |
270 #include <netdb.h> | 272 #include <netdb.h> |
271 #ifndef __IBMC__ | 273 #ifndef __IBMC__ |