$NetBSD: patch-aa,v 1.11 2012/06/01 20:23:11 drochner Exp $

--- src/inkview.cpp.orig	2012-02-14 03:22:17.000000000 +0000
+++ src/inkview.cpp
@@ -31,13 +31,10 @@
 # include "config.h"
 #endif
 
-#ifdef HAVE_GETOPT_H
-#include <getopt.h>
-#endif
-
 #include <string.h>
 #include <sys/stat.h>
 #include <locale.h>
+#include <unistd.h>
 
 #include <glib.h>
 #include <libnr/nr-macros.h>
