summaryrefslogtreecommitdiff
path: root/sysutils/genimage/files/patch-image-hd.c
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2023-01-06 07:31:22 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2023-01-06 10:17:45 -0800
commitf5858d0bce93eaa9bc455da3382a34b778939cd6 (patch)
tree46e79663e448891c2a9a44664695939bba117d68 /sysutils/genimage/files/patch-image-hd.c
parentdevel/fnm: New port: Fast and simple Node.js version manager, built in Rust (diff)
sysutils/genimage: New port: Tool to generate multiple filesystem and flash images from a tree
Diffstat (limited to 'sysutils/genimage/files/patch-image-hd.c')
-rw-r--r--sysutils/genimage/files/patch-image-hd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/genimage/files/patch-image-hd.c b/sysutils/genimage/files/patch-image-hd.c
new file mode 100644
index 000000000000..0b3465c91655
--- /dev/null
+++ b/sysutils/genimage/files/patch-image-hd.c
@@ -0,0 +1,11 @@
+--- image-hd.c.orig 2023-01-06 17:53:09 UTC
++++ image-hd.c
+@@ -22,7 +22,7 @@
+ #include <stdlib.h>
+ #include <errno.h>
+ #include <inttypes.h>
+-#include <endian.h>
++#include <sys/endian.h>
+ #include <stdbool.h>
+ #include <unistd.h>
+ #include <sys/types.h>