summaryrefslogtreecommitdiff
path: root/gtk/viewdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/viewdata.c')
-rw-r--r--gtk/viewdata.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/viewdata.c b/gtk/viewdata.c
index 03ceeb86b..8879bca7b 100644
--- a/gtk/viewdata.c
+++ b/gtk/viewdata.c
@@ -28,6 +28,7 @@
#include <stdlib.h>
#include <string.h>
#include <strings.h>
+#define _WITH_GETLINE /* necessary for FreeBSD */
#include <stdio.h>
#include <unistd.h>
#include <gtk/gtk.h>