diff options
Diffstat (limited to 'StdLib/LibC/Uefi/compat.c')
-rw-r--r-- | StdLib/LibC/Uefi/compat.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/StdLib/LibC/Uefi/compat.c b/StdLib/LibC/Uefi/compat.c index 7f250d15ff..8ce4783a6a 100644 --- a/StdLib/LibC/Uefi/compat.c +++ b/StdLib/LibC/Uefi/compat.c @@ -94,6 +94,7 @@ #include <LibConfig.h>
#include <string.h>
#include <fcntl.h>
+#include <sys/syslimits.h>
#ifndef HAVE_GETOPT
char *optarg;
@@ -138,11 +139,7 @@ getopt(int argc, char **argv, char *args) }
#endif
-#ifdef WIN32
#define ISPATHSEPARATOR(x) ((x == '/') || (x == '\\'))
-#else
-#define ISPATHSEPARATOR(x) (x == '/')
-#endif
#ifndef HAVE_BASENAME
#ifndef PATH_MAX
|