From: Joerg Sonnenberger <joerg@britannica.bec.de>
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 22 Aug 2010 01:15:18 +0000 (01:15 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 22 Aug 2010 01:15:18 +0000 (01:15 +0000)
Use portable header to work on all POSIX compliant systems.
Doesn't break non-POSIX systems as limits.h is a C90 header.

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

src/include/eina_file.h

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