[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: kdenetwork/keystone/qdns.cpp missing some inet(3) includes
From: Will Andrews <andrews () technologist ! com>
Date: 2000-07-13 16:53:35
[Download RAW message or body]
Hi -devel,
Subject says it all. Without the attached patch, qdns.cpp breaks
compile with all sorts of syntax errors on recent FreeBSD 4.0-STABLE.
Simple fix is to add the other headers as specified in inet(3).
Please commit this patch, #ifdef __FreeBSD__ if you have to, so that
kdenetwork will compile out of the box.
Thanks,
--
Will Andrews <andrewsw@purdue.edu> <will@FreeBSD.org>
GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w---
?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+
G++>+++ e->++++ h! r-->+++ y?
["qdns.diff" (text/plain)]
? qdns.diff
Index: qdns.cpp
===================================================================
RCS file: /home/kde/kdenetwork/keystone/qdns.cpp,v
retrieving revision 1.3
diff -u -r1.3 qdns.cpp
--- qdns.cpp 2000/07/11 00:27:13 1.3
+++ qdns.cpp 2000/07/13 18:22:13
@@ -1516,6 +1516,8 @@
// struct __res_state is part of the api. normally not used, it says.
// but we use it, to get various information.
+#include <sys/types.h>
+#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic