Commit e3f8625647b5837c386e831cce4e69268343b5d9

Christian Weisgerber 2022-02-18T20:23:32

explicitly include <endian.h> for be32toh()

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/lib/pack_create.c b/lib/pack_create.c
index 36b6b12..3b6af38 100644
--- a/lib/pack_create.c
+++ b/lib/pack_create.c
@@ -22,6 +22,7 @@
 #include <sys/stat.h>
 #include <sys/time.h>
 
+#include <endian.h>
 #include <stdint.h>
 #include <imsg.h>
 #include <stdio.h>