aboutsummaryrefslogtreecommitdiff
path: root/common/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/stdafx.h')
-rw-r--r--common/stdafx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/stdafx.h b/common/stdafx.h
index 2d59efe688..f59fb168d2 100644
--- a/common/stdafx.h
+++ b/common/stdafx.h
@@ -99,6 +99,7 @@
#if !defined(macintosh)
#include <sys/types.h>
#include <sys/uio.h>
+#include <sys/param.h>
#endif
#if !defined (__BEOS__)
#include <unistd.h>
@@ -119,4 +120,8 @@
#endif
+#ifndef MAXPATHLEN
+#define MAXPATHLEN 256
+#endif
+
#endif