SHA256
1
0
forked from pool/libmicro
libmicro/libmicro-implicit-fortify-decl.patch
Martin Pluskal 0d69feea95 - Build with optflags
- Refresh patches
- Add libmicro-implicit-fortify-decl.patch

OBS-URL: https://build.opensuse.org/package/show/benchmark/libmicro?expand=0&rev=12
2016-07-02 16:59:45 +00:00

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"