Make MSVC a bit happy with sources

This commit is contained in:
Alexander S. Aganichev
2002-09-23 06:16:34 +00:00
parent 9d4ae516d5
commit c283d9e260
8 changed files with 37 additions and 18 deletions

View File

@@ -55,7 +55,9 @@
#define HAVE_FCNTL_H 1
/* Define if you have the <io.h> header file. */
#undef HAVE_IO_H
#ifndef _POSIX_SOURCE
#define HAVE_IO_H
#endif
/* Define if you have the <malloc.h> header file. */
#undef HAVE_MALLOC_H
@@ -70,7 +72,9 @@
#define HAVE_SYS_TIME_H 1
/* Define if you have the <unistd.h> header file. */
#ifdef _POSIX_SOURCE
#define HAVE_UNISTD_H 1
#endif
/* Define if you have the <varargs.h> header file. */
/* #undef HAVE_VARARGS_H */

View File

@@ -38,6 +38,9 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_IO_H
#include <io.h>
#endif
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif

View File

@@ -45,6 +45,9 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_IO_H
#include <io.h>
#endif
#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif

View File

@@ -42,6 +42,9 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#ifdef HAVE_IO_H
#include <io.h>
#endif
#ifdef HAVE_MEMORY_H
#include <memory.h>
#endif