Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
68ba62fd
Commit
68ba62fd
authored
May 19, 2014
by
Tomek Mrugalski
🛰
Browse files
[3382] configure now uses PGSQL_INCLUDEDIR_SERVER
parent
00f76a6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
68ba62fd
...
...
@@ -937,7 +937,8 @@ if test "$PG_CONFIG" != "" ; then
PGSQL_CPPFLAGS=`$PG_CONFIG --cppflags`
PGSQL_INCLUDEDIR=`$PG_CONFIG --includedir`
PGSQL_CPPFLAGS="$PGSQL_CPPFLAGS -I$PGSQL_INCLUDEDIR"
PGSQL_INCLUDEDIR_SERVER=`$PG_CONFIG --includedir-server`
PGSQL_CPPFLAGS="$PGSQL_CPPFLAGS -I$PGSQL_INCLUDEDIR -I$PGSQL_INCLUDEDIR_SERVER"
PGSQL_LIBS=`$PG_CONFIG --libdir`
PGSQL_LIBS="-L$PGSQL_LIBS -lpq"
PGSQL_VERSION=`$PG_CONFIG --version`
...
...
src/lib/dhcpsrv/pgsql_lease_mgr.cc
View file @
68ba62fd
...
...
@@ -36,7 +36,7 @@
// completion. PostgreSQL deliberately omits this macro from errocodes.h
// so callers can supply their own.
#define MAKE_SQLSTATE(ch1,ch2,ch3,ch4,ch5) {ch1,ch2,ch3,ch4,ch5}
#include
<
server/
utils/errcodes.h>
#include
<utils/errcodes.h>
const
size_t
STATECODE_LEN
=
5
;
// Currently the only one we care to look for is duplicate key.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment