summaryrefslogtreecommitdiff
path: root/cad/xcircuit/files/patch-ae
blob: 7a9cd82919eef46c0121299974f1fa8aa423f471 (plain) (blame)
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
*** filelist.c.orig	Thu May  4 06:58:52 2000
--- filelist.c	Fri Oct 13 04:55:01 2000
***************
*** 5,12 ****
--- 5,19 ----
  
  #include <stdio.h>
  #include <string.h>
+ #ifndef __STDC__
  #include <malloc.h>
+ #endif
  #include <sys/types.h>
+ #ifdef __FreeBSD__
+ #include <dirent.h>
+ #include <unistd.h>
+ #define direct dirent
+ #else
  #ifdef linux
  #include <dirent.h>
  #include <linux/unistd.h>
***************
*** 19,24 ****
--- 26,32 ----
  #else
  #include <stdlib.h>
  #include <sys/dir.h>
+ #endif
  #endif
  #endif
  #include <sys/stat.h>