Include appropriate headers for htons() and htonl().

pull/449/head
Matthew Seaman 2016-03-26 12:33:07 +00:00 committed by Andres Freund
parent 55e81ce23d
commit 897a1126e7
1 changed files with 4 additions and 2 deletions

View File

@ -17,11 +17,13 @@
#include "postgres.h" #include "postgres.h"
#include "funcapi.h" #include "funcapi.h"
#include <sys/stat.h> #include <arpa/inet.h>
#include <unistd.h>
#ifdef HAVE_INTTYPES_H #ifdef HAVE_INTTYPES_H
#include <inttypes.h> #include <inttypes.h>
#endif #endif
#include <netinet/in.h>
#include <sys/stat.h>
#include <unistd.h>
#include "access/hash.h" #include "access/hash.h"
#include "access/htup_details.h" #include "access/htup_details.h"