summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-02-12 15:45:49 (GMT)
committer Vincent Sanders <vince@kyllikki.org>2016-02-12 15:45:49 (GMT)
commitfb9579786284454b849029a62ba4162f4648b714 (patch)
treee677831e50a54aae668a8f7c73f7b03363094fe4 /gtk
parent8a075b71426d869c60c599886f8e70b7a5bb33be (diff)
downloadnetsurf-fb9579786284454b849029a62ba4162f4648b714.tar.gz
netsurf-fb9579786284454b849029a62ba4162f4648b714.tar.bz2
fix more freebsd warnings
Diffstat (limited to 'gtk')
-rw-r--r--gtk/viewdata.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/viewdata.c b/gtk/viewdata.c
index 03ceeb8..8879bca 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>