patch for linux build

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2024-01-16 14:12:10 +00:00
parent c55b7c24fe
commit 685fc97382
2 changed files with 26 additions and 9 deletions

View File

@@ -0,0 +1,11 @@
--- smdev.c 2014-09-29 10:55:09.000000000 +0000
+++ smdev.c.fixed 2024-01-16 14:06:19.054325378 +0000
@@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */
#include <sys/ioctl.h>
#include <sys/stat.h>
-#include <sys/types.h>
+#include <sys/sysmacros.h>
#include <linux/sockios.h>
#include <linux/if_packet.h>