Commit 31d98cf167f3f206aef86c23829b44633c393320

Ycros 2011-07-18T11:37:16

Fix suseconds_t for OSX.

diff --git a/compat.h b/compat.h
index 7ea9c63..245697a 100644
--- a/compat.h
+++ b/compat.h
@@ -1,10 +1,6 @@
 #ifndef __COMPAT_H__
 #define __COMPAT_H__
 
-#ifndef __SUSECONDS_T_TYPE
-typedef long suseconds_t;
-#endif
-
 #ifdef WIN32
 
 #include <windows.h>
@@ -28,6 +24,10 @@ typedef unsigned long int ulong;
 typedef unsigned short int ushort;
 typedef unsigned int uint;
 
+#ifndef __SUSECONDS_T_TYPE
+typedef long suseconds_t;
+#endif
+
 #endif /* WIN32 */
 
 #endif /* __COMPAT_H__ */