projects
/
openwrt
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
kexec-tools: issue warning when dd'ing vmcore
[openwrt/openwrt.git]
/
package
/
boot
/
kexec-tools
/
patches
/
110-fix-vmcore-dmsg-compilation-error.patch
1
--- a/vmcore-dmesg/vmcore-dmesg.c
2
+++ b/vmcore-dmesg/vmcore-dmesg.c
3
@@ -1,6 +1,8 @@
4
#define _XOPEN_SOURCE 600
5
#define _LARGEFILE_SOURCE 1
6
#define _FILE_OFFSET_BITS 64
7
+#define _GNU_SOURCE
8
+
9
#include <endian.h>
10
#include <byteswap.h>
11
#include <stdio.h>