summaryrefslogtreecommitdiff
path: root/comms/modemd/patches/patch-ap
blob: 271dfa579675e7556b661474623536468f21c650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ap,v 1.2 2007/10/10 16:53:59 rillig Exp $

--- outgoing/listen.c.orig	1996-04-30 07:02:48.000000000 +0000
+++ outgoing/listen.c	2007-10-10 16:50:47.000000000 +0000
@@ -53,10 +53,12 @@ static char copyright[] =
 #include <syslog.h>
 #include <unistd.h>
 #include <sys/time.h>
-#include <sys/errno.h>
+#include <errno.h>
 #include <netdb.h>
 #include <sys/stat.h>
 #include <sys/resource.h>
+#include <stdio.h>
+#include <stdlib.h>
 
 void listener (port, addr, forkp)
      int port;