mirror of
https://github.com/openvswitch/ovs
synced 2025-08-30 22:05:19 +00:00
Work around bugs in system headers.
On some system, at least, one must include <sys/types.h> before <netinet/in.h>, and <netinet/in.h> before <arpa/inet.h> or <net/if.h>. From Jean Tourrilhes <jt@hpl.hp.com>.
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <inttypes.h>
|
||||
#include <net/if.h>
|
||||
#include <netinet/in.h>
|
||||
#include <net/if.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
Reference in New Issue
Block a user