$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"