summaryrefslogtreecommitdiff
path: root/multimedia/xine-ui/patches/patch-bb
blob: a930673c890c48807790af4dd74ff71847751957 (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
$NetBSD: patch-bb,v 1.3 2012/08/04 13:47:10 drochner Exp $

--- src/xitk/network.c.orig	2011-11-08 20:49:07.000000000 +0000
+++ src/xitk/network.c
@@ -24,7 +24,7 @@
 /* required for getsubopt(); the __sun test avoids compilation problems on 
     solaris. On FreeBSD defining this disable BSD functions to be visible
     and remove INADDR_NONE */
-#if ! defined (__sun__) && ! defined (__OpenBSD__)  && ! defined(__FreeBSD__) && ! defined(__APPLE__)
+#if ! defined (__sun__) && ! defined (__OpenBSD__)  && ! defined(__FreeBSD__) && ! defined(__NetBSD__) && ! defined(__APPLE__)
 #define _XOPEN_SOURCE 500
 #endif
 /* required for strncasecmp() */
@@ -64,8 +64,8 @@
 #include <netdb.h>
 #include <pthread.h>
 
-#include <readline.h>
-#include <history.h>
+#include <readline/readline.h>
+#include <readline/history.h>
 
 #include "common.h"