summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2003-07-13 02:12:38 +0000
committerpixel <pixel>2003-07-13 02:12:38 +0000
commit8c4ce72f66f5d2b8b01689d1282ae3491b714130 (patch)
tree9d27dc3daed88ee216e05243f1202c01ada3110d /include
parent2a1525eb8cef13000fc10126f770541b2115ff89 (diff)
Small fixes
Diffstat (limited to 'include')
-rw-r--r--include/generic.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/generic.h b/include/generic.h
index 66772b1..46e35ff 100644
--- a/include/generic.h
+++ b/include/generic.h
@@ -1,6 +1,8 @@
#ifndef __GENERIC_H__
#define __GENERIC_H__
+#include <sys/types.h>
+#include <sys/stat.h>
#include <string.h>
#define M_BARE -1
@@ -131,9 +133,6 @@ inline T ABS(T x) {
- (((x)>>3)&0x11111111))
#define ISPOT(x) (((x)&(x-1))==0?1:0)
-#include <sys/types.h>
-#include <sys/stat.h>
-
#if defined __linux__ || defined __CYGWIN32__
#define MKDIR(name) mkdir(name, 0777)
#else