projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ed20a5
)
Lost <sys/resource.h> include.
author
Marko Kreen
<markokr@gmail.com>
Mon, 6 Sep 2010 05:49:24 +0000
(08:49 +0300)
committer
Marko Kreen
<markokr@gmail.com>
Tue, 7 Sep 2010 11:14:41 +0000
(14:14 +0300)
src/main.c
patch
|
blob
|
blame
|
history
diff --git
a/src/main.c
b/src/main.c
index 8ebc01fc7af3aa0253dc5f1dfec4ae05c2cea5df..4e10a092ff28e0a484db99acfbf433709df155f9 100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-26,6
+26,10
@@
#include <getopt.h>
+#ifdef HAVE_SYS_RESOURCE_H
+#include <sys/resource.h>
+#endif
+
static bool set_mode(ConfElem *elem, const char *val, PgSocket *console);
static const char *get_mode(ConfElem *elem);
static bool set_auth(ConfElem *elem, const char *val, PgSocket *console);