diff options
Diffstat (limited to 'net-p2p/dctc/files/patch-src:main.c')
-rw-r--r-- | net-p2p/dctc/files/patch-src:main.c | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/net-p2p/dctc/files/patch-src:main.c b/net-p2p/dctc/files/patch-src:main.c index c1d90f1f876a..4d5522f0b652 100644 --- a/net-p2p/dctc/files/patch-src:main.c +++ b/net-p2p/dctc/files/patch-src:main.c @@ -1,6 +1,6 @@ ---- src/main.c.orig Sat Nov 24 13:22:57 2001 -+++ src/main.c Sat Nov 24 13:25:24 2001 -@@ -30,12 +30,23 @@ +--- src/main.c Sat Dec 1 09:05:19 2001 ++++ src/main.c Sun Dec 2 19:34:12 2001 +@@ -30,12 +30,13 @@ #include <sys/param.h> #include <sys/utsname.h> #include <sys/un.h> @@ -11,17 +11,7 @@ #include <glib.h> #include <pthread.h> + -+#if (defined(__unix__) || defined(unix)) && !defined(USG) -+#include <sys/param.h> -+#endif -+ -+#if (defined(BSD) && (BSD >= 199103)) -+# include <sys/ipc.h> -+# include <sys/sem.h> -+#else -+/* For linux */ -+# include <linux/sem.h> /* for the value of SEMVMX */ -+#endif ++#include "config.h" #include "var.h" #include "display.h" |