projects
/
pgpool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a89b159
)
Fix compiler error on FreeBSD.
author
Tatsuo Ishii
<ishii@sraoss.co.jp>
Fri, 4 Dec 2020 08:04:30 +0000
(17:04 +0900)
committer
Tatsuo Ishii
<ishii@sraoss.co.jp>
Fri, 4 Dec 2020 08:04:30 +0000
(17:04 +0900)
Per bug report 670.
https://www.pgpool.net/mantisbt/view.php?id=670
Patch provided by ajs.
src/main/pgpool_main.c
patch
|
blob
|
blame
|
history
diff --git
a/src/main/pgpool_main.c
b/src/main/pgpool_main.c
index 604fa9c899c5272798ecaf27694e68129e9a2c4e..c1529f299f662672c11d20e706c755bf2e15c16b 100644
(file)
--- a/
src/main/pgpool_main.c
+++ b/
src/main/pgpool_main.c
@@
-34,6
+34,10
@@
#include <sys/time.h>
#include <sys/wait.h>
+#ifdef __FreeBSD__
+#include <netinet/in.h>
+#endif
+
#include "pool.h"
#include "version.h"
#include "pool_config.h"