Module: sip-router
Branch: janakj/postgres
Commit: 9550df5a016e1729356104851eae8e476364dda1
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=9550df5…
Author: Maxim Sobolev <sobomax(a)sippysoft.com>
Committer: Maxim Sobolev <sobomax(a)sippysoft.com>
Date: Tue May 20 23:13:20 2008 +0000
We also need <sys/types.h> and <sys/socket.h> to get AF_INET on FreeBSD.
---
modules/db_postgres/pg_fld.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/modules/db_postgres/pg_fld.c b/modules/db_postgres/pg_fld.c
index c3bd09a..a9690a5 100644
--- a/modules/db_postgres/pg_fld.c
+++ b/modules/db_postgres/pg_fld.c
@@ -44,9 +44,11 @@
#include "../../mem/mem.h"
#include "../../dprint.h"
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
#include <stdint.h>
#include <string.h>
-#include <netinet/in.h>
/**
* This is the epoch time in time_t format, this value is used to convert