telephony/libs/dahdi-tools/patches/030-cdefs.patch
Rosen Penev 972350e2ea dahdi-tools: fix compilation with musl 1.2.x
Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-07-08 17:16:56 -07:00

10 lines
229 B
Diff

--- a/xpp/hexfile.h
+++ b/xpp/hexfile.h
@@ -26,6 +26,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <stdint.h>
+#include <sys/cdefs.h>
#include <sys/param.h>
#include <syslog.h>
#define PACKED __attribute__((packed))