2021-02-21 01:02:15 +01:00
|
|
|
--- a/src/shared/util.h
|
|
|
|
+++ b/src/shared/util.h
|
2024-02-22 07:32:26 +01:00
|
|
|
@@ -18,6 +18,7 @@
|
2018-04-30 08:11:13 +02:00
|
|
|
#include <string.h>
|
2022-05-17 11:38:45 +02:00
|
|
|
#include <sys/types.h>
|
2024-02-22 07:32:26 +01:00
|
|
|
#include <sys/uio.h>
|
2018-04-30 08:11:13 +02:00
|
|
|
+#include <endian.h>
|
|
|
|
|
2020-04-16 17:10:37 +02:00
|
|
|
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
2021-03-03 18:25:05 +01:00
|
|
|
#define BIT(n) (1 << (n))
|