summaryrefslogtreecommitdiff
path: root/cad/geda/patches/patch-ab
blob: b894f40f0ba7a2138798766ce5ac8d6b414cd053 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ab,v 1.1 2005/01/11 03:16:22 dmcmahill Exp $

--- graphman/callbacks.c.orig	2004-08-31 02:57:44.000000000 +0000
+++ graphman/callbacks.c
@@ -19,7 +19,11 @@
 /*******************************************************************************/
 
 #ifdef HAVE_CONFIG_H
-#  include <config.h>
+#  include "../config.h"
+#endif
+
+#ifdef HAVE_UNISTD_H
+#  include <unistd.h>
 #endif
 
 #include <gtk/gtk.h>
@@ -28,6 +32,7 @@
 #include "global.h"
 #include "graph.h"
 #include "interface.h"
+#include "libstring.h"
 #include "support.h"
 #include "value.h"