aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/physical.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/physical.c')
-rw-r--r--usr.sbin/ppp/physical.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/ppp/physical.c b/usr.sbin/ppp/physical.c
index 30fed48d7481..e605131397ab 100644
--- a/usr.sbin/ppp/physical.c
+++ b/usr.sbin/ppp/physical.c
@@ -96,7 +96,9 @@
#ifndef NONETGRAPH
#include "ether.h"
#endif
-
+#ifndef NOATM
+#include "atm.h"
+#endif
#define PPPOTCPLINE "ppp"
@@ -123,6 +125,10 @@ struct {
/* This must come before ``udp'' & ``tcp'' */
{ ether_Create, ether_iov2device, ether_DeviceSize },
#endif
+#ifndef NOATM
+ /* and so must this */
+ { atm_Create, atm_iov2device, atm_DeviceSize },
+#endif
{ tcp_Create, tcp_iov2device, tcp_DeviceSize },
{ udp_Create, udp_iov2device, udp_DeviceSize },
{ exec_Create, exec_iov2device, exec_DeviceSize }