mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-02 04:32:24 +00:00
Replaced #ifndef WIN32 with #ifdef HAVE_UNISTD_H and
HAVE_SYS_TIME_H
This commit is contained in:
parent
cc0e3dfbb5
commit
1532c66198
2 changed files with 10 additions and 3 deletions
|
@ -34,8 +34,12 @@
|
|||
#endif
|
||||
|
||||
#include <string.h>
|
||||
#ifndef WIN32
|
||||
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -30,8 +30,11 @@
|
|||
# include "config.h"
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
@ -56,7 +59,7 @@
|
|||
#include "cl_input.h"
|
||||
#include "net.h"
|
||||
|
||||
#ifndef _WIN32
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue