summaryrefslogtreecommitdiff
path: root/accel-pppd/include
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2018-10-24 16:35:52 +0200
committerDmitry Kozlov <xeb@mail.ru>2018-10-26 06:34:34 +0300
commit83435c81924bfca036d41abb2e88b48c075649d9 (patch)
tree8c069d1bf2584c12e1bb83ea524b7a1c64f5d818 /accel-pppd/include
parent29d2895e92e91652c7940bb273f73ed44e09b0d8 (diff)
downloadaccel-ppp-83435c81924bfca036d41abb2e88b48c075649d9.tar.gz
accel-ppp-83435c81924bfca036d41abb2e88b48c075649d9.zip
backup: make ap_session_backup.h self-contained
We need to include <netinet/in.h> to define 'struct in6_addr' and <stdint.h> for 'uint8_t'. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd/include')
-rw-r--r--accel-pppd/include/ap_session_backup.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/accel-pppd/include/ap_session_backup.h b/accel-pppd/include/ap_session_backup.h
index e6382ff..9e175c8 100644
--- a/accel-pppd/include/ap_session_backup.h
+++ b/accel-pppd/include/ap_session_backup.h
@@ -1,6 +1,9 @@
#ifndef __AP_SESSION_BACKUP_H
#define __AP_SESSION_BACKUP_H
+#include <netinet/in.h>
+#include <stdint.h>
+
#define SES_TAG_USERNAME 1
#define SES_TAG_SESSIONID 2
#define SES_TAG_START_TIME 3