summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2026-08-09 13:33:03 +0300
committerDenys Fedoryshchenko <denys.f@collabora.com>2026-08-10 01:31:12 +0300
commit9505f3fe72f7930e94aec51188babcabe783e4da (patch)
treeb06a5021a55cd6896531b745e551638d11c957ce /accel-pppd/ctrl
parent49a94430c090068ca96f1dc38ed24cd93c2e324d (diff)
downloadaccel-ppp-9505f3fe72f7930e94aec51188babcabe783e4da.tar.gz
accel-ppp-9505f3fe72f7930e94aec51188babcabe783e4da.zip
pptp: use the kernel PPPoX UAPI header
Linux 2.6.37 and later provide the PPTP socket address and protocol definitions in linux/if_pppox.h. Use that header directly instead of carrying an old private copy containing obsolete kernel-internal declarations.
Diffstat (limited to 'accel-pppd/ctrl')
-rw-r--r--accel-pppd/ctrl/pptp/pptp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/pptp/pptp.c b/accel-pppd/ctrl/pptp/pptp.c
index f8e498d6..eb5b40f5 100644
--- a/accel-pppd/ctrl/pptp/pptp.c
+++ b/accel-pppd/ctrl/pptp/pptp.c
@@ -11,7 +11,7 @@
#include <netinet/in.h>
#include <sys/socket.h>
-#include "if_pppox.h"
+#include <linux/if_pppox.h>
#include "events.h"
#include "list.h"