Skip to content
Snippets Groups Projects

testing/mstflint: new aport

Merged Hal Martin requested to merge halmartin/aports:mstflint into master
Files
2
+ 26
0
diff -ur mstflint-4.25.0/mtcr_ul/mtcr_ul_com.c mstflint-4.25.0/mtcr_ul/mtcr_ul_com.c
--- mstflint-4.25.0/mtcr_ul/mtcr_ul_com.c 2022-04-28 11:50:04.000000000 +0000
+++ mstflint-4.25.0/mtcr_ul/mtcr_ul_com.c 2022-05-19 14:06:49.479797274 +0000
@@ -67,7 +67,13 @@
#include <endian.h>
#include <byteswap.h>
#include <errno.h>
+#ifndef _GNU_SOURCE
+#define _GNU_SOURCE
#include <sys/types.h>
+#undef _GNU_SOURCE
+#else
+#include <sys/types.h>
+#endif
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
@@ -77,7 +83,7 @@
#if CONFIG_ENABLE_MMAP
#include <sys/mman.h>
-#include <sys/pci.h>
+#include <linux/pci.h>
#include <sys/ioctl.h>
#endif
Loading