summaryrefslogtreecommitdiff
path: root/cad/spice/patches/patch-ac
blob: 0c68b1a2e17977cd7b08f91635f1329c2669a3bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-ac,v 1.3 1999/10/01 17:05:15 dmcmahill Exp $

*** src/include/misc.h.orig	Thu Dec  1 09:17:02 1994
--- src/include/misc.h	Sun Mar 31 12:32:58 1996
***************
*** 86,92 ****
--- 86,94 ----
  extern char *realloc();
  extern char *getenv();
  extern int errno;
+ #if !(defined(__FreeBSD__) || defined(__NetBSD__))
  extern char *sys_errlist[];
+ #endif
  extern char *getenv();
  extern char *getwd();
  extern int rand();
***************
*** 111,122 ****
--- 111,124 ----
  #    endif /* clearerr */
  #  endif /* HAS_CLEARERR */
  
+ #if !(defined(__FreeBSD__) || defined(__NetBSD__))
  #  ifndef bzero
  extern int bzero();
  #  endif
  #  ifndef bcopy
  extern void bcopy();
  #  endif
+ #endif /* defined(__FreeBSD__) || defined(__NetBSD__) */
  
  #  ifndef index
  #    ifdef HAS_INDEX