on advice of vtorri <- revert until proven that limits.h works on
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 22 Aug 2010 06:00:13 +0000 (06:00 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 22 Aug 2010 06:00:13 +0000 (06:00 +0000)
these other os's.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@51512 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/include/eina_file.h

index 4420d1d..b7a4ef6 100644 (file)
 #ifndef EINA_FILE_H_
 #define EINA_FILE_H_
 
-#include <limits.h>
+#if defined (__MacOSX__) || defined (__FreeBSD__) || (defined (__MACH__) && \
+   defined (__APPLE__))
+# include <sys/syslimits.h>
+#endif
 
 #include "eina_types.h"
 #include "eina_array.h"