diff options
Diffstat (limited to 'cad/xcircuit/files/patch-ae')
-rw-r--r-- | cad/xcircuit/files/patch-ae | 28 |
1 files changed, 6 insertions, 22 deletions
diff --git a/cad/xcircuit/files/patch-ae b/cad/xcircuit/files/patch-ae index 7a9cd82919ee..0a7ec8d2c796 100644 --- a/cad/xcircuit/files/patch-ae +++ b/cad/xcircuit/files/patch-ae @@ -1,8 +1,8 @@ -*** filelist.c.orig Thu May 4 06:58:52 2000 ---- filelist.c Fri Oct 13 04:55:01 2000 +*** filelist.c.orig Tue Dec 19 01:31:32 2000 +--- filelist.c Wed Dec 20 02:58:35 2000 *************** -*** 5,12 **** ---- 5,19 ---- +*** 5,11 **** +--- 5,13 ---- #include <stdio.h> #include <string.h> @@ -10,21 +10,5 @@ #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> + + #ifdef HAVE_DIRENT_H |