summaryrefslogtreecommitdiff
path: root/x11/kdelibs3/files/patch-kdecore-kextsock.cpp
blob: de6b77153c908798a3007929ebda2933b58d90d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Index: kdecore/kextsock.cpp
===================================================================
RCS file: /home/kde/kdelibs/kdecore/kextsock.cpp,v
retrieving revision 1.67
diff -u -3 -p -r1.67 kextsock.cpp
--- kdecore/kextsock.cpp	11 Dec 2003 22:54:36 -0000	1.67
+++ kdecore/kextsock.cpp	24 Jan 2004 17:48:28 -0000
@@ -85,6 +85,12 @@ extern "C" int res_init();
 #endif
 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
 
+#ifdef Q_OS_FREEBSD
+#ifndef EAI_NODATA
+#define EAI_NODATA EAI_NONAME
+#endif
+#endif
+
 //
 // Internal class definitions
 //