mirror of https://github.com/citusdata/citus.git
IEEE Std 1003.1 specifies <arpa/inet.h> for the ntohl() prototype:
http://pubs.opengroup.org/onlinepubs/000095399/functions/ntohl.html <netinet/in.h> works, but it appears to be provided as support for legacy code.pull/407/head
parent
9acce4edf5
commit
b9b80f231a
|
@ -17,7 +17,7 @@
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
#include "funcapi.h"
|
#include "funcapi.h"
|
||||||
|
|
||||||
#include <netinet/in.h>
|
#include <arpa/inet.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#ifdef HAVE_INTTYPES_H
|
#ifdef HAVE_INTTYPES_H
|
||||||
|
|
Loading…
Reference in New Issue