summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2018-10-24 16:35:54 +0200
committerDmitry Kozlov <xeb@mail.ru>2018-10-26 06:34:34 +0300
commitd0c390ebe4e44473ef56ece622457942ed325de3 (patch)
tree20ea60b0fc85c1b9d98b792ef517e0447dcb2124 /accel-pppd
parent83435c81924bfca036d41abb2e88b48c075649d9 (diff)
downloadaccel-ppp-d0c390ebe4e44473ef56ece622457942ed325de3.tar.gz
accel-ppp-d0c390ebe4e44473ef56ece622457942ed325de3.zip
backup: make backup.h self-contained
We need to include <sys/types.h> to define 'size_t'. Also, let's include "ap_session.h" so that we don't need a forward declaration for 'struct ap_session'. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'accel-pppd')
-rw-r--r--accel-pppd/backup/backup.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/accel-pppd/backup/backup.h b/accel-pppd/backup/backup.h
index d36f70bd..106303e2 100644
--- a/accel-pppd/backup/backup.h
+++ b/accel-pppd/backup/backup.h
@@ -2,6 +2,9 @@
#define __BACKUP_H
#include <stdint.h>
+#include <sys/types.h>
+
+#include "ap_session.h"
#include "list.h"
#define MODID_COMMON 1
@@ -12,8 +15,6 @@
#define MODID_L2TP 6
#define MODID_IPPOOL 7
-
-struct ap_session;
struct backup_storage;
struct backup_data;