summary refs log tree commit diff stats
path: root/lib/nimbase.h
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-03-08 13:01:55 +0100
committerAndreas Rumpf <rumpf_a@web.de>2015-03-08 13:01:55 +0100
commite390d8ec4aa11571411b1e87ba7d163dd3501f8e (patch)
tree450a3e54f7f6073e5b2c6f5998b7662d8b390176 /lib/nimbase.h
parenta50dff8a5e9e7bf06c441da68ca98c9e07b1a3ba (diff)
parent19354b62f6c521351ed8d30176081682c227d4b0 (diff)
downloadNim-e390d8ec4aa11571411b1e87ba7d163dd3501f8e.tar.gz
Merge pull request #2225 from dyu/freebsd
compile nim on freebsd
Diffstat (limited to 'lib/nimbase.h')
-rw-r--r--lib/nimbase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/nimbase.h b/lib/nimbase.h
index a1d4d1e27..e9dad0bb7 100644
--- a/lib/nimbase.h
+++ b/lib/nimbase.h
@@ -406,4 +406,6 @@ typedef int assert_numbits[sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof(
 #  include <sys/types.h>
 #  include <types/vxWind.h>
 #  include <tool/gnu/toolMacros.h>
+#elif defined(__FreeBSD__)
+#  include <sys/types.h>
 #endif