mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
OS/2 build bustage - default to unistd.h for non windows platforms
This commit is contained in:
parent
6d9c54e193
commit
4f815036f8
@ -38,16 +38,16 @@
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
|
||||
#if defined(XP_UNIX)
|
||||
# include <unistd.h>
|
||||
#elif defined(XP_WIN)
|
||||
#if defined(XP_WIN)
|
||||
# include <io.h>
|
||||
#else
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef XP_WIN
|
||||
#include <winsock2.h>
|
||||
# include <winsock2.h>
|
||||
#else
|
||||
#include <arpa/inet.h>
|
||||
# include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#ifndef SSIZE_MAX
|
||||
|
Loading…
Reference in New Issue
Block a user