]> spindle.queued.net Git - midori/commitdiff
Include unistd.h in adblock which declares close()
authorChristian Dywan <christian@twotoasts.de>
Sat, 18 Jul 2009 13:14:26 +0000 (15:14 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 18 Jul 2009 13:14:26 +0000 (15:14 +0200)
extensions/adblock.c

index 8f5d3beb275d418b4ae10b0c8f9dbb98cafdd467..8debf5e1b123c79b4ae81794f8b80e9df0243052 100644 (file)
@@ -15,6 +15,9 @@
 #include "config.h"
 
 #include <glib/gstdio.h>
+#if HAVE_UNISTD_H
+    #include <unistd.h>
+#endif
 
 static void
 adblock_app_add_browser_cb (MidoriApp*       app,