Protect the unistd.h and sys/stat.h includes.
Include config.h. Fixes warnings reported by winapi_check.
This commit is contained in:
parent
b80fbbb85d
commit
f9280a3a95
|
@ -24,13 +24,19 @@
|
|||
* - Thread-safing
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <time.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#ifdef HAVE_SYS_STAT_H
|
||||
# include <sys/stat.h>
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include "crypt.h"
|
||||
#include "winnls.h"
|
||||
|
|
|
@ -23,7 +23,9 @@
|
|||
#include <stdarg.h>
|
||||
#include <limits.h>
|
||||
#include <dirent.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_STAT_H
|
||||
# include <sys/stat.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue