Added missing configuration #if:s and #includes:s.

This commit is contained in:
Patrik Stridvall 1999-10-31 02:07:54 +00:00 committed by Alexandre Julliard
parent 3a9c476a03
commit 2c92835f7b
8 changed files with 57 additions and 13 deletions

View File

@ -13,6 +13,8 @@
* routines for backward compatibility. * routines for backward compatibility.
*/ */
#include "config.h"
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@ -13,6 +13,8 @@
/*#define EMULATE_SB16*/ /*#define EMULATE_SB16*/
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>

View File

@ -12,6 +12,8 @@
* 98/11 splitted in midi.c and mcimidi.c * 98/11 splitted in midi.c and mcimidi.c
*/ */
#include "config.h"
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>

View File

@ -7,6 +7,8 @@
* 1999 Eric Pouech * 1999 Eric Pouech
*/ */
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>

View File

@ -7,6 +7,8 @@
#define EMULATE_SB16 #define EMULATE_SB16
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>

View File

@ -74,7 +74,9 @@ const char *strerror( int err )
#if !defined(HAVE_CLONE) && defined(__linux__) #if !defined(HAVE_CLONE) && defined(__linux__)
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <syscall.h> #ifdef HAVE_SYSCALL_H
# include <syscall.h>
#endif
int clone( int (*fn)(void *), void *stack, int flags, void *arg ) int clone( int (*fn)(void *), void *stack, int flags, void *arg )
{ {
#ifdef __i386__ #ifdef __i386__

View File

@ -14,14 +14,18 @@
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/ipc.h> #ifdef HAVE_SYS_IPC_H
# include <sys/ipc.h>
#endif
#include <sys/ioctl.h> #include <sys/ioctl.h>
#ifdef HAVE_SYS_FILIO_H #ifdef HAVE_SYS_FILIO_H
# include <sys/filio.h> # include <sys/filio.h>
#endif #endif
#if defined(__svr4__) || defined(__sun) #if defined(__svr4__) || defined(__sun)
#include <sys/ioccom.h> #include <sys/ioccom.h>
#include <sys/sockio.h> #ifdef HAVE_SYS_SOCKIO_H
# include <sys/sockio.h>
#endif
#endif #endif
#if defined(__EMX__) #if defined(__EMX__)
@ -32,12 +36,24 @@
# include <sys/param.h> # include <sys/param.h>
#endif #endif
#include <sys/msg.h> #ifdef HAVE_SYS_MSG_H
#include <sys/wait.h> # include <sys/msg.h>
#endif
#ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h> #include <sys/socket.h>
#include <netinet/in.h> #endif
#include <netinet/tcp.h> #ifdef HAVE_NETINET_IN_H
#include <arpa/inet.h> # include <netinet/in.h>
#endif
#ifdef HAVE_NETINET_TCP_H
# include <netinet/tcp.h>
#endif
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
#include <ctype.h> #include <ctype.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>

View File

@ -23,14 +23,18 @@
#include <string.h> #include <string.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/ipc.h> #ifdef HAVE_SYS_IPC_H
# include <sys/ipc.h>
#endif
#include <sys/ioctl.h> #include <sys/ioctl.h>
#ifdef HAVE_SYS_FILIO_H #ifdef HAVE_SYS_FILIO_H
# include <sys/filio.h> # include <sys/filio.h>
#endif #endif
#if defined(__svr4__) #if defined(__svr4__)
#include <sys/ioccom.h> #include <sys/ioccom.h>
#include <sys/sockio.h> #ifdef HAVE_SYS_SOCKIO_H
# include <sys/sockio.h>
#endif
#endif #endif
#if defined(__EMX__) #if defined(__EMX__)
@ -41,15 +45,27 @@
# include <sys/param.h> # include <sys/param.h>
#endif #endif
#include <sys/msg.h> #ifdef HAVE_SYS_MSG_H
# include <sys/msg.h>
#endif
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h> #include <sys/wait.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h> #include <sys/socket.h>
#include <netinet/in.h> #endif
#include <arpa/inet.h> #ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif
#ifdef HAVE_ARPA_INET_H
# include <arpa/inet.h>
#endif
#include <ctype.h> #include <ctype.h>
#include <fcntl.h> #include <fcntl.h>
#include <errno.h> #include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h> #include <sys/errno.h>
#endif
#include <netdb.h> #include <netdb.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>