1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/net/libunp/files/patch-al
Dan Moschuk a759fd52db libunp is the library used in W. Richard Steven's book "UNIX Network
Programming Volume 1, 2nd Edition".  It contains the library and headers
used in the examples as well as all programs from the text that compile on
FreeBSD systems.

PR: ports/14057
Submitted by: James FitzGibbon <james@targetnet.com>
1999-10-02 19:13:06 +00:00

21 lines
595 B
Plaintext

--- lib/unp.h.orig Sun Sep 14 15:49:59 1997
+++ lib/unp.h Thu Sep 30 11:12:55 1999
@@ -4,7 +4,7 @@
#ifndef __unp_h
#define __unp_h
-#include "../config.h" /* configuration options for current OS */
+#include <unp/config.h> /* configuration options for current OS */
/* "../config.h" is generated by configure */
/* If anything changes in the following list of #includes, must change
@@ -197,7 +197,7 @@
#define max(a,b) ((a) > (b) ? (a) : (b))
#ifndef HAVE_ADDRINFO_STRUCT
-# include "../lib/addrinfo.h"
+# include <unp/addrinfo.h>
#endif
#ifndef HAVE_IF_NAMEINDEX_STRUCT