summaryrefslogtreecommitdiff
path: root/lang/siod/patches/patch-ae
blob: 24996b27d1b96c95dbf19fa703485441496e4cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ae,v 1.1 2002/08/12 16:21:14 agc Exp $

--- ss.c	2002/08/12 16:16:32	1.1
+++ ss.c	2002/08/12 16:17:10
@@ -12,7 +12,8 @@
 #ifdef unix
 #include <unistd.h>
 #endif
-#ifdef SUN5
+#include <sys/param.h>
+#if defined(SUN5) && !(defined(BSD) && BSD >= 199306)
 /* missing from unistd.h */
 long gethostid(void); 
 int gethostname(char *, int);