mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 02:03:04 +01:00
Added / replaced ifdef's around unistd.h with the define HAVE_UNISTD_H
generated by autoconf.
This commit is contained in:
parent
d7db60a22c
commit
f359a95a52
@ -51,7 +51,7 @@
|
||||
#if (defined WIN_NT || (defined PC_PLATFORM && !defined NETWARE_386))
|
||||
#include <io.h>
|
||||
#endif
|
||||
#ifdef unix
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
@ -185,7 +185,9 @@ typedef struct mnt {
|
||||
/* Unix specific stuff */
|
||||
|
||||
#ifdef UNIX
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/file.h>
|
||||
|
@ -40,7 +40,9 @@
|
||||
#include "../jrd/common.h"
|
||||
#include <stdarg.h>
|
||||
#ifndef WIN_NT
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef DARWIN
|
||||
#include </usr/include/pwd.h>
|
||||
#else
|
||||
|
@ -66,7 +66,7 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef sparc
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
@ -5,7 +5,9 @@
|
||||
|
||||
#include "../jrd/os/mod_loader.h"
|
||||
#include "../../common.h"
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <dlfcn.h>
|
||||
|
@ -52,7 +52,7 @@ extern int BeginThread(void (*__func) (void *), void *__stackP,
|
||||
#define STACK_SIZE 128000
|
||||
#endif
|
||||
|
||||
#ifdef UNIX
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
*
|
||||
*/
|
||||
/*
|
||||
$Id: y-valve.cpp,v 1.4 2002-04-04 11:37:14 dimitr Exp $
|
||||
$Id: y-valve.cpp,v 1.5 2002-08-26 12:18:12 eku Exp $
|
||||
*/
|
||||
|
||||
#include "firebird.h"
|
||||
@ -81,9 +81,11 @@ $Id: y-valve.cpp,v 1.4 2002-04-04 11:37:14 dimitr Exp $
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#if !(defined SEEK_END && defined F_OK)
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef WIN_NT
|
||||
#include <windows.h>
|
||||
@ -6253,4 +6255,4 @@ BOOLEAN WHY_get_shutdown()
|
||||
#endif /* SERVER_SHUTDOWN && !SUPERCLIENT && !REQUESTER */
|
||||
|
||||
|
||||
} // extern "C"
|
||||
} // extern "C"
|
||||
|
@ -54,7 +54,9 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <errno.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <sys/param.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
|
@ -20,7 +20,7 @@
|
||||
*
|
||||
* All Rights Reserved.
|
||||
* Contributor(s): ______________________________________.
|
||||
* $Id: srvrmgr.cpp,v 1.3 2001-12-24 02:50:53 tamlin Exp $
|
||||
* $Id: srvrmgr.cpp,v 1.4 2002-08-26 12:18:12 eku Exp $
|
||||
*/
|
||||
|
||||
#include "firebird.h"
|
||||
@ -28,7 +28,9 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#include <sys/types.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
|
@ -71,7 +71,7 @@
|
||||
#include <signal.h>
|
||||
#endif
|
||||
|
||||
#ifdef sparc
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user