Răsfoiți Sursa

We also need <sys/types.h> and <sys/socket.h> to get AF_INET on FreeBSD.

Maxim Sobolev 17 ani în urmă
părinte
comite
9550df5a01
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  1. 3 1
      modules/db_postgres/pg_fld.c

+ 3 - 1
modules/db_postgres/pg_fld.c

@@ -44,9 +44,11 @@
 #include "../../mem/mem.h"
 #include "../../mem/mem.h"
 #include "../../dprint.h"
 #include "../../dprint.h"
 
 
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
 #include <stdint.h>
 #include <stdint.h>
 #include <string.h>
 #include <string.h>
-#include <netinet/in.h>
 
 
 /**
 /**
  * This is the epoch time in time_t format, this value is used to convert
  * This is the epoch time in time_t format, this value is used to convert