Commit Diff


commit - 9066d26dc49e33d9c6540c2a8f7880a98a1bc358
commit + def2f97048d39f24c4938a0ef92b6294480482c2
blob - dc7046265930c91fe7370ec5e4560cc5e11e663a
blob + 3e9e90f6b382d2b217417f4f229183da2df159b5
--- tog/tog.c
+++ tog/tog.c
@@ -19,6 +19,9 @@
 
 #include <ctype.h>
 #include <errno.h>
+#if defined(__FreeBSD__)
+#define _XOPEN_SOURCE_EXTENDED /* for ncurses wide-character functions */
+#endif
 #include <curses.h>
 #include <panel.h>
 #include <locale.h>