summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/util.h b/util.h
index d30b6f84..21008a22 100644
--- a/util.h
+++ b/util.h
@@ -3,6 +3,11 @@
#include <iostream>
+#if defined __FreeBSD__ && __FreeBSD__ <=4
+// FreeBSD has a broken isspace macro, so dont use it
+#undef isspace(c)
+#endif
+
#if defined(__GNUG__) && __GNUG__ < 3
namespace std {
inline ostream & right (ostream & i) {