void-packages/srcpkgs/efivar/files/makeguids.patch

11 lines
365 B
Diff

--- src/makeguids.c 2017-02-13 17:52:14.000000000 +0100
+++ src/makeguids.c 2017-02-18 04:12:12.474373950 +0100
@@ -151,6 +151,7 @@
fprintf(symout, "#include <efivar.h>\n");
fprintf(symout, "#include <endian.h>\n");
+ fprintf(symout, "#include \"bswap_constant.h\"\n");
fprintf(symout, """\n\
#if BYTE_ORDER == BIG_ENDIAN\n\
#define cpu_to_be32(n) (n)\n\