Skip to contentSkip to conversation

libkeymap: Include sys/types.h in array.h for ssize_t

PATCH Applied Michael Forney 2 participants 2 messages Jun 27, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libkeymap: Include sys/types.h in array.h for ssize_t

This fixes the build with musl libc.

---
 src/libkeymap/keymap/array.h | 1 +
 1 file changed, 1 insertion(+)
src/libkeymap/keymap/array.h +1 -0
index 43a5198..3ff0af0 100644
@@ -2,6 +2,7 @@
 #define LK_ARRAY_H
 
 #include <sys/param.h>
+#include <sys/types.h>
 
 /**
  * @brief Basic structure for array implementation.
Signature · 1 line
2.20.1