diff options
Diffstat (limited to 'user/efivar/0001-makeguids-Ensure-compatibility-with-other-libcs.patch')
-rw-r--r-- | user/efivar/0001-makeguids-Ensure-compatibility-with-other-libcs.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user/efivar/0001-makeguids-Ensure-compatibility-with-other-libcs.patch b/user/efivar/0001-makeguids-Ensure-compatibility-with-other-libcs.patch index 1577d306b..4ab037e53 100644 --- a/user/efivar/0001-makeguids-Ensure-compatibility-with-other-libcs.patch +++ b/user/efivar/0001-makeguids-Ensure-compatibility-with-other-libcs.patch @@ -15,10 +15,10 @@ diff --git a/src/makeguids.c b/src/makeguids.c index ec75a86..6b0d80e 100644 --- a/src/makeguids.c +++ b/src/makeguids.c -@@ -152,6 +152,15 @@ main(int argc, char *argv[]) +@@ -178,6 +178,15 @@ main(int argc, char *argv[]) fprintf(symout, "#include <efivar/efivar.h>\n"); fprintf(symout, "#include <endian.h>\n"); - fprintf(symout, """\n\ + fprintf(symout, "\n\ +#ifndef __bswap_constant_16\n\ +#define __bswap_constant_16(x)\\\n\ + ((unsigned short int) ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8)))\n\ |