Add HAVE_UNISTD_H and HAVE_FCNTL_H

This commit is contained in:
Francois Kritzinger 2022-03-22 14:35:53 +02:00
parent 26aab9ba94
commit ca7bedbbd3
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
// HAVE_FCNTL_H
#undef HAVE_FCNTL_H
#if defined(__linux__) || \
defined(__FreeBSD__) || \
defined(__OpenBSD__) || \
defined(__NetBSD__) || \
(defined(__APPLE__) && defined(__MACH__))
# define HAVE_FCNTL_H 1
#endif

View File

@ -0,0 +1,11 @@
// HAVE_UNISTD_H
#undef HAVE_UNISTD_H
#if defined(__linux__) || \
defined(__FreeBSD__) || \
defined(__OpenBSD__) || \
defined(__NetBSD__) || \
(defined(__APPLE__) && defined(__MACH__))
# define HAVE_UNISTD_H 1
#endif