pkgsrc/print/hpijs/patches/patch-ac
dmcmahill fdb211b3ec add autoconf tests to find what librarary connect, socket, recv, send,
and gethostbyname are in.   On some systems, you need -lsocket and -lnsl
for these (solaris).  Tested on NetBSD and Solaris-9.
2005-03-26 13:59:33 +00:00

12 lines
303 B
Text

$NetBSD: patch-ac,v 1.1 2005/03/26 13:59:33 dmcmahill Exp $
--- hpiom.c.orig 2004-10-14 19:08:51.000000000 -0400
+++ hpiom.c
@@ -32,6 +32,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/socket.h>
+#include <sys/uio.h>
#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>