summaryrefslogtreecommitdiff
path: root/net-misc/netkit-bootparamd/files/0.17-libtirpc.patch
blob: 1cdf263efb25a63e837b369a8c9baf743fb78dc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff -ruN netkit-bootparamd-0.17.orig/rpc.bootparamd/main.c netkit-bootparamd-0.17/rpc.bootparamd/main.c
--- netkit-bootparamd-0.17.orig/rpc.bootparamd/main.c	2000-07-22 16:23:56.000000000 -0000
+++ netkit-bootparamd-0.17/rpc.bootparamd/main.c	2017-10-04 14:17:49.887552574 -0000
@@ -17,9 +17,11 @@
 
 
 #ifdef __GLIBC__
+#ifndef _TIRPC_RPC_H
 	/* quick fix */
 	void get_myaddress(struct sockaddr_in *);
 #endif
+#endif
 
 int debug = 0;
 int dolog = 0;