summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pppoe
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2024-04-09 23:40:48 +0300
committerDenys Fedoryshchenko <denys.f@collabora.com>2024-04-10 01:12:50 +0300
commit410367e6851e8fb386abecb88369d6fa4e9871b9 (patch)
tree9fc9080299e423967eb716df92c04ac54680bbfc /accel-pppd/ctrl/pppoe
parent3668336266cb74b6d37e5b56c9c5b74761a868fc (diff)
downloadaccel-ppp-410367e6851e8fb386abecb88369d6fa4e9871b9.tar.gz
accel-ppp-410367e6851e8fb386abecb88369d6fa4e9871b9.zip
musl: Add musl compatibility
Thanks for hints Alpine Linux project and their patches: https://git.alpinelinux.org/aports/tree/community/accel-ppp?h=master We can adjust a bit code and cmake config files to make accel-ppp buildable under musl "as is". Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
Diffstat (limited to 'accel-pppd/ctrl/pppoe')
-rw-r--r--accel-pppd/ctrl/pppoe/pppoe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/pppoe/pppoe.c b/accel-pppd/ctrl/pppoe/pppoe.c
index 76684285..dd623acc 100644
--- a/accel-pppd/ctrl/pppoe/pppoe.c
+++ b/accel-pppd/ctrl/pppoe/pppoe.c
@@ -11,7 +11,9 @@
#include <net/ethernet.h>
#include <netpacket/packet.h>
#include <arpa/inet.h>
+#ifdef HAVE_PRINTF_H
#include <printf.h>
+#endif
#include "crypto.h"