summaryrefslogtreecommitdiff
path: root/x11/qt3-libs/patches/patch-bb
blob: 17156cfcc4dd0f526a4629948c9d17c3392b9f37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-bb,v 1.5 2005/11/01 15:20:51 joerg Exp $

--- src/sql/drivers/psql/qsql_psql.cpp.orig	2004-03-10 13:29:45.000000000 +0100
+++ src/sql/drivers/psql/qsql_psql.cpp
@@ -47,14 +47,14 @@
 #if defined(DEBUG)
 # undef DEBUG
 #endif
-#include <postgres.h>
+#include <postgresql/server/postgres.h>
 #include <libpq/libpq-fs.h>
 // PostgreSQL header <catalog/pg_type.h> redefines errno erroneously.
 #if defined(errno)
 # undef errno
 #endif
 #define errno qt_psql_errno
-#include <catalog/pg_type.h>
+#include <postgresql/server/catalog/pg_type.h>
 #undef errno
 
 QPtrDict<QSqlDriverExtension> *qSqlDriverExtDict();