Protect the unistd.h and sys/stat.h includes.

Include config.h.
Fixes warnings reported by winapi_check.
This commit is contained in:
Francois Gouget 2005-06-17 20:56:02 +00:00 committed by Alexandre Julliard
parent b80fbbb85d
commit f9280a3a95
2 changed files with 11 additions and 3 deletions

View File

@ -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"

View File

@ -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