aboutsummaryrefslogtreecommitdiff
path: root/src/textadept.c
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2012-07-10 16:00:04 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2012-07-10 16:00:04 -0400
commitb90733576418546d846ec6f887c055ecd78f2ce7 (patch)
treec968020ebd9863baac3553c06b7b823e1e7fa52a /src/textadept.c
parenta1d714eaeec69d359b8de54ac00d0fc621b96fa2 (diff)
downloadtextadept-b90733576418546d846ec6f887c055ecd78f2ce7.tar.gz
textadept-b90733576418546d846ec6f887c055ecd78f2ce7.zip
Fixes to compile on BSD.
Diffstat (limited to 'src/textadept.c')
-rw-r--r--src/textadept.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/textadept.c b/src/textadept.c
index 0b9d9845..45f5e970 100644
--- a/src/textadept.c
+++ b/src/textadept.c
@@ -16,6 +16,7 @@
//#elif __APPLE__ && NCURSES
//#include <mach-o/dyld.h>
#elif (__FreeBSD__ || __NetBSD__ || __OpenBSD__)
+#define u_int unsigned int // 'u_int' undefined when _POSIX_SOURCE is defined
#include <sys/types.h>
#include <sys/sysctl.h>
#endif