fixed include order to work around issue on RHEL 6.6
[ RC: Added comment explaining the ordering requirements. ] Signed-off-by: Brian Olson <brian@amergint.com> Signed-off-by: Richard Cochran <richardcochran@gmail.com>master
parent
97c351cafd
commit
ae28f5295f
2
rtnl.c
2
rtnl.c
|
@ -17,13 +17,13 @@
|
|||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
#include <asm/types.h>
|
||||
#include <sys/socket.h> /* Must come before linux/netlink.h on some systems. */
|
||||
#include <linux/netlink.h>
|
||||
#include <linux/rtnetlink.h>
|
||||
#include <net/if.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/socket.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "print.h"
|
||||
|
|
Loading…
Reference in New Issue