Files
pkgsrc-ng/comms/modemd/patches/patch-aq
2013-09-26 17:14:40 +02:00

23 lines
554 B
Plaintext

$NetBSD: patch-aq,v 1.3 2011/11/25 21:34:34 joerg Exp $
--- incoming/connect.c.orig 1996-04-30 07:02:43.000000000 +0000
+++ incoming/connect.c
@@ -49,14 +49,16 @@ static char copyright[] =
#include <sys/fcntl.h>
#include <sys/types.h>
#include <sys/socket.h>
+#include <arpa/inet.h>
#include <netinet/in.h>
#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 <stdlib.h>
static void pump PROTO ((int, int));