forked from mia/Aegisub
Move sys/param.h under ifndef _WIN32, I need to be more vigilant against including Unix headers in Windows builds.
Originally committed to SVN as r5370.
This commit is contained in:
parent
6ee90d4bb1
commit
96f24d6c25
1 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,6 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <sys/param.h>
|
|
||||||
#ifdef HAVE_SYS_TIME_H
|
#ifdef HAVE_SYS_TIME_H
|
||||||
# include <sys/time.h>
|
# include <sys/time.h>
|
||||||
#else
|
#else
|
||||||
|
@ -26,7 +25,8 @@
|
||||||
|
|
||||||
// Unix C
|
// Unix C
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
# include <sys/statvfs.h>
|
#include <sys/statvfs.h>
|
||||||
|
#include <sys/param.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Common C++
|
// Common C++
|
||||||
|
|
Loading…
Reference in a new issue