We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d28f21 commit 1a6bffbCopy full SHA for 1a6bffb
config.h
@@ -25,19 +25,22 @@
25
#include <stdarg.h>
26
#include <errno.h>
27
28
-#include <unistd.h>
29
#include <stdint.h>
30
#include <time.h>
31
32
#include <sys/types.h>
33
#include <sys/stat.h>
34
-#include <sys/time.h>
35
36
#include <string.h>
37
#include <fcntl.h>
38
#include <limits.h>
39
#include <ctype.h>
40
+#if defined(__linux__)
+# include <sys/time.h>
41
+# include <unistd.h>
42
+#endif
43
+
44
#if defined(_MSC_VER)
45
# define strncasecmp _strnicmp
46
# define strcasecmp _stricmp
0 commit comments