[kbd] [PATCH] libkeymap: Include sys/types.h in array.h for ssize_t

Michael Forney mforney at mforney.org
Thu Jun 27 05:41:35 MSK 2019


This fixes the build with musl libc.

Signed-off-by: Michael Forney <mforney at mforney.org>
---
 src/libkeymap/keymap/array.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libkeymap/keymap/array.h b/src/libkeymap/keymap/array.h
index 43a5198..3ff0af0 100644
--- a/src/libkeymap/keymap/array.h
+++ b/src/libkeymap/keymap/array.h
@@ -2,6 +2,7 @@
 #define LK_ARRAY_H
 
 #include <sys/param.h>
+#include <sys/types.h>
 
 /**
  * @brief Basic structure for array implementation.
-- 
2.20.1



More information about the kbd mailing list