pkgsrc/graphics/gimp-refocus-it/patches/patch-aa
2007-11-20 17:46:44 +00:00

25 lines
593 B
Text

$NetBSD: patch-aa,v 1.2 2007/11/20 17:46:44 rillig Exp $
--- gimp-plugin/main-gimp.c.orig 2004-07-19 12:17:44.000000000 +0200
+++ gimp-plugin/main-gimp.c 2007-11-20 18:45:06.000000000 +0100
@@ -19,6 +19,12 @@
#define _GNU_SOURCE
+#if HAVE_NBCOMPAT_H
+# include <nbcompat/config.h>
+# include <nbcompat/cdefs.h>
+# include <nbcompat/stdio.h>
+#endif
+
#include <gtk/gtk.h>
#include <glib.h>
#include <libgimp/gimp.h>
@@ -27,6 +33,7 @@
#include <ctype.h>
#include <stdlib.h>
#include <time.h>
+#include <locale.h>
#include "compiler.h"
#include "hopfield.h"
#include "image.h"