summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>2001-10-24 10:01:14 +0000
committerbrian <brian@cvs.openbsd.org>2001-10-24 10:01:14 +0000
commit2d2546bd69d7e1847eab5a001c9466a4ee120222 (patch)
treed35021a5e0b442245051b4e51e32b50dc8f74854 /usr.sbin
parentae9ff56a2669bc61d254cec6ab42277d30f4dfaa (diff)
Some NetBSD/i4b ifdefs
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/ppp/i4b.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ppp/i4b.c b/usr.sbin/ppp/ppp/i4b.c
index 4ad4ba93807..bb3b02328c3 100644
--- a/usr.sbin/ppp/ppp/i4b.c
+++ b/usr.sbin/ppp/ppp/i4b.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $OpenBSD: i4b.c,v 1.5 2001/06/19 10:24:53 brian Exp $
+ * $OpenBSD: i4b.c,v 1.6 2001/10/24 10:01:13 brian Exp $
*/
#include <sys/param.h>
@@ -39,9 +39,14 @@
#include <machine/i4b_ioctl.h>
#include <machine/i4b_rbch_ioctl.h>
#else
+#ifdef __NetBSD__
+#include <netisdn/i4b_ioctl.h>
+#include <netisdn/i4b_rbch_ioctl.h>
+#else
#include <i4b/i4b_ioctl.h>
#include <i4b/i4b_rbch_ioctl.h>
#endif
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>