1
0

110-fix-vmcore-dmsg-compilation-error.patch 257 B

1234567891011
  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>