summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2010-05-16 10:26:24 +0200
committerAndreas Baumann <abaumann@yahoo.com>2010-05-16 10:26:24 +0200
commit416b892e1cca24de1de29a1e6c9913855db760fb (patch)
tree29ed0c3ec3f4a30c351b8a09b1df9dc98fb72318 /src
parentd26c22be0ff0e7faf3187a760af854d81c2953ec (diff)
downloadwolfbones-416b892e1cca24de1de29a1e6c9913855db760fb.tar.gz
wolfbones-416b892e1cca24de1de29a1e6c9913855db760fb.tar.bz2
compiles with newest CVS version of PCC and with newest glibc and kernel header files, but
there are a lot of funny GNUism in public header files..
Diffstat (limited to 'src')
-rw-r--r--src/port/limits.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/port/limits.h b/src/port/limits.h
index 0d85c05..c4116c1 100644
--- a/src/port/limits.h
+++ b/src/port/limits.h
@@ -20,6 +20,10 @@
#include "port/sys.h"
+#ifdef __PCC__
+#define PATH_MAX 255
+#else
#include <limits.h>
+#endif
#endif /* ifndef __LIMITS_H */