summaryrefslogtreecommitdiff
path: root/packages/qt4/qt4-x11-free-4.3.3/0002-fix-resinit-declaration.patch
blob: e479a64a2b07933b5976f8ff0e7207522261f290 (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
From acfeb18aa94bad6b2066e91cd15570889baaa252 Mon Sep 17 00:00:00 2001
From: Michael Krelin <hacker@klever.net>
Date: Sat, 2 Jun 2007 16:04:01 +0200
Subject: [PATCH] fix resinit declaration

---
 src/qt3support/network/q3dns.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/qt3support/network/q3dns.cpp b/src/qt3support/network/q3dns.cpp
index 9bc7b16..bfc333e 100644
--- a/src/qt3support/network/q3dns.cpp
+++ b/src/qt3support/network/q3dns.cpp
@@ -30,7 +30,7 @@
 # include <netinet/in.h>
 # include <arpa/nameser.h>
 # include <resolv.h>
-extern "C" int res_init();
+extern "C" int res_init() throw();
 #endif
 
 // POSIX Large File Support redefines open -> open64
-- 
1.5.0.7