mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
Change, simplify and document the conditions for the include files.
Fix two build problems in Fedora 8 and probably other hosts with a newer C library (reported by Dosadi on #reactos) svn path=/trunk/; revision=32681
This commit is contained in:
+14
-6
@@ -21,15 +21,23 @@
|
||||
#endif//_MSC_VER
|
||||
|
||||
#ifdef WIN32
|
||||
# include <direct.h>
|
||||
# include <io.h>
|
||||
#include <direct.h>
|
||||
#include <io.h>
|
||||
#else
|
||||
# include <sys/stat.h>
|
||||
# include <unistd.h>
|
||||
# include <ctype.h>
|
||||
# define MAX_PATH PATH_MAX
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// Some hosts don't define PATH_MAX in unistd.h
|
||||
#if !defined(PATH_MAX)
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
#define MAX_PATH PATH_MAX
|
||||
#endif
|
||||
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "xml.h"
|
||||
#include "ssprintf.h"
|
||||
|
||||
Reference in New Issue
Block a user