summaryrefslogtreecommitdiff
path: root/multimedia/xine-ui/patches/patch-ai
blob: dd7f4e1f02421527dd8f5c6a164336d234e2f37f (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
26
27
28
29
30
31
32
$NetBSD: patch-ai,v 1.1 2004/05/12 16:42:49 drochner Exp $

--- src/xitk/xine-remote.c.orig	2004-05-11 23:39:22.000000000 +0200
+++ src/xitk/xine-remote.c	2004-05-11 23:45:24.000000000 +0200
@@ -30,6 +30,7 @@
 #endif
 /* required for strncasecmp() */
 #define _BSD_SOURCE 1
+#define _NETBSD_SOURCE
 /* required to enable POSIX variant of getpwuid_r on solaris */
 #define _POSIX_PTHREAD_SEMANTICS 1
 
@@ -58,7 +59,7 @@
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <sys/signal.h>
+#include <signal.h>
 #include <sys/time.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
@@ -66,8 +67,8 @@
 #include <netdb.h>
 #include <pthread.h>
 
-#include <readline.h>
-#include <history.h>
+#include <readline/readline.h>
+#include <readline/history.h>
 
 #include "common.h"