summaryrefslogtreecommitdiffstats
path: root/net-p2p/dctc-gui/files/patch-src:callbacks.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/dctc-gui/files/patch-src:callbacks.c')
-rw-r--r--net-p2p/dctc-gui/files/patch-src:callbacks.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/net-p2p/dctc-gui/files/patch-src:callbacks.c b/net-p2p/dctc-gui/files/patch-src:callbacks.c
new file mode 100644
index 0000000..26cd4f4
--- /dev/null
+++ b/net-p2p/dctc-gui/files/patch-src:callbacks.c
@@ -0,0 +1,25 @@
+--- src/callbacks.c.orig Sat Nov 24 07:38:45 2001
++++ src/callbacks.c Sat Nov 24 16:22:22 2001
+@@ -2,12 +2,22 @@
+ # include <config.h>
+ #endif
+
++#ifdef HAVE_SYS_PARAM_H
++# include <sys/param.h>
++#endif
++
+ #include <math.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <gdk/gdkkeysyms.h>
++#if !(defined(BSD) && (BSD >= 199103)) /* !BSD */
+ #include <linux/sem.h>
++#endif
+ #include <gnome.h>
++
++#ifndef SEMVMX
++#define SEMVMX 32767
++#endif
+
+ #include "callbacks.h"
+ #include "interface.h"
OpenPOWER on IntegriCloud