2000-03-20 21:43:03 +00:00
|
|
|
*** filelist.c.orig Tue Feb 29 23:35:01 2000
|
|
|
|
--- filelist.c Mon Mar 13 02:23:41 2000
|
2000-01-24 06:04:08 +00:00
|
|
|
***************
|
2000-03-20 21:43:03 +00:00
|
|
|
*** 5,12 ****
|
|
|
|
--- 5,19 ----
|
2000-01-24 06:04:08 +00:00
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <string.h>
|
|
|
|
+ #ifndef __STDC__
|
|
|
|
#include <malloc.h>
|
|
|
|
+ #endif
|
|
|
|
#include <sys/types.h>
|
2000-03-20 21:43:03 +00:00
|
|
|
+ #ifdef __FreeBSD__
|
|
|
|
+ #include <dirent.h>
|
|
|
|
+ #include <unistd.h>
|
|
|
|
+ #define direct dirent
|
|
|
|
+ #endif
|
2000-01-24 06:04:08 +00:00
|
|
|
#ifdef linux
|
|
|
|
#include <dirent.h>
|
2000-03-20 21:43:03 +00:00
|
|
|
#include <linux/unistd.h>
|