You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
freifunkist-firmware/package/boot/kexec-tools/patches/110-fix-vmcore-dmsg-compila...

11 lines
257 B

--- a/vmcore-dmesg/vmcore-dmesg.c
+++ b/vmcore-dmesg/vmcore-dmesg.c
@@ -1,6 +1,8 @@
#define _XOPEN_SOURCE 600
#define _LARGEFILE_SOURCE 1
#define _FILE_OFFSET_BITS 64
+#define _GNU_SOURCE
+
#include <endian.h>
#include <byteswap.h>
#include <stdio.h>