forked from pool/libmicro
5cee7b3a87
- libmicro-gcc14.patch: fix build with gcc14 OBS-URL: https://build.opensuse.org/request/show/1191053 OBS-URL: https://build.opensuse.org/package/show/benchmark/libmicro?expand=0&rev=20
37 lines
735 B
Diff
37 lines
735 B
Diff
Index: mmap.c
|
|
===================================================================
|
|
--- mmap.c.orig
|
|
+++ mmap.c
|
|
@@ -32,6 +32,7 @@
|
|
#include <stdio.h>
|
|
#include <fcntl.h>
|
|
#include <strings.h>
|
|
+#include <string.h>
|
|
|
|
#include "libmicro.h"
|
|
|
|
Index: mprotect.c
|
|
===================================================================
|
|
--- mprotect.c.orig
|
|
+++ mprotect.c
|
|
@@ -34,6 +34,7 @@
|
|
#include <sys/mman.h>
|
|
#include <fcntl.h>
|
|
#include <strings.h>
|
|
+#include <string.h>
|
|
|
|
#include "libmicro.h"
|
|
|
|
Index: munmap.c
|
|
===================================================================
|
|
--- munmap.c.orig
|
|
+++ munmap.c
|
|
@@ -34,6 +34,7 @@
|
|
#include <sys/mman.h>
|
|
#include <fcntl.h>
|
|
#include <strings.h>
|
|
+#include <string.h>
|
|
|
|
#include "libmicro.h"
|
|
|