summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils/utils.h b/src/utils/utils.h
index d22a0eb..2c64281 100644
--- a/src/utils/utils.h
+++ b/src/utils/utils.h
@@ -8,6 +8,13 @@
#ifndef hubbub_utils_h_
#define hubbub_utils_h_
+/* If we're building with Norcroft, then we need to haul in
+ * unixlib.h from TCPIPLibs for useful things like strncasecmp
+ */
+#ifdef __CC_NORCROFT
+#include <unixlib.h>
+#endif
+
#ifndef max
#define max(a,b) ((a)>(b)?(a):(b))
#endif