We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4116456 + 95f58f4 commit e444ce3Copy full SHA for e444ce3
2 files changed
repo/packages/l/lnx-headers/inc/linux/if_packet.h
@@ -0,0 +1 @@
1
+#include <netpacket/packet.h>
repo/packages/l/lnx-headers/xmake.lua
@@ -0,0 +1,12 @@
+package("lnx-headers")
2
+do
3
+ set_description("The headers for linux compatibility")
4
+
5
+ on_install(function(package)
6
+ os.vcp(path.join(os.scriptdir(), "inc/linux/*"), package:installdir("include/linux"))
7
+ end)
8
9
+ on_test(function(package)
10
+ assert(package:has_cincludes("linux/if_packet.h"))
11
12
+end
0 commit comments