mirror of
https://github.com/reactos/ccache.git
synced 2024-12-02 16:46:24 +00:00
fixed build on FreeBSD
This commit is contained in:
parent
9068bd58f7
commit
a5ab55ad60
4
ccache.h
4
ccache.h
@ -6,11 +6,10 @@
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/wait.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/file.h>
|
||||
#include <fcntl.h>
|
||||
#include <time.h>
|
||||
#include <string.h>
|
||||
@ -19,6 +18,7 @@
|
||||
#include <stdarg.h>
|
||||
#include <dirent.h>
|
||||
#include <limits.h>
|
||||
#include <sys/file.h>
|
||||
#ifdef HAVE_PWD_H
|
||||
#include <pwd.h>
|
||||
#endif
|
||||
|
@ -107,5 +107,5 @@
|
||||
|
||||
/* Define on UNIX to activate XPG/5 features. */
|
||||
#if !defined(_XOPEN_SOURCE)
|
||||
# define _XOPEN_SOURCE 500
|
||||
# define _XOPEN_SOURCE
|
||||
#endif
|
||||
|
@ -20,7 +20,7 @@ AC_DEFINE([_GNU_SOURCE], 1,
|
||||
AH_VERBATIM([_XOPEN_SOURCE],
|
||||
[/* Define on UNIX to activate XPG/5 features. */
|
||||
#if !defined(_XOPEN_SOURCE)
|
||||
# define _XOPEN_SOURCE 500
|
||||
# define _XOPEN_SOURCE
|
||||
#endif])
|
||||
|
||||
# If GCC, turn on warnings.
|
||||
|
Loading…
Reference in New Issue
Block a user