1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/cad/xcircuit/files/patch-ae
Chris D. Faulhaber 82795ec8b0 Update port to 2.0b4
PR:		17459
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
2000-03-20 21:43:03 +00:00

21 lines
413 B
Plaintext

*** filelist.c.orig Tue Feb 29 23:35:01 2000
--- filelist.c Mon Mar 13 02:23:41 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
+ #endif
#ifdef linux
#include <dirent.h>
#include <linux/unistd.h>