fd-net-device: Reorder headers to prevent symbol redefinition

Linux headers must come after C/C++ headers when building with Musl C library
This commit is contained in:
Gabriel Ferreira
2022-05-17 16:17:04 -03:00
parent 7d9543b6f7
commit ecd18974cd
2 changed files with 2 additions and 2 deletions

View File

@@ -34,12 +34,12 @@
#include <iostream>
#include <iomanip>
#include <limits>
#include <linux/if_tun.h>
#include <memory>
#include <net/ethernet.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netpacket/packet.h>
#include <linux/if_tun.h>
#include <stdlib.h>
#include <string.h>

View File

@@ -35,12 +35,12 @@
#include <iostream>
#include <iomanip>
#include <limits>
#include <linux/if_tun.h>
#include <memory>
#include <net/ethernet.h>
#include <net/if.h>
#include <netinet/in.h>
#include <netpacket/packet.h>
#include <linux/if_tun.h>
#include <stdlib.h>
#include <string.h>