You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
969 B

Index: glob/glob.c
--- glob/glob.c.orig 2013-10-06 01:12:18.000000000 +0200
+++ glob/glob.c 2014-10-04 18:45:46.904422293 +0200
@@ -217,13 +217,13 @@
# ifdef HAVE_ALLOCA_H
# include <alloca.h>
# else /* Not HAVE_ALLOCA_H. */
-# ifndef _AIX
+# if !defined (_AIX) && !defined (__FreeBSD__)
# ifdef WINDOWS32
# include <malloc.h>
# else
extern char *alloca ();
# endif /* WINDOWS32 */
-# endif /* Not _AIX. */
+# endif /* Not _AIX && not __FreeBSD__. */
# endif /* sparc or HAVE_ALLOCA_H. */
# endif /* GCC. */
Index: makeint.h
--- makeint.h.orig 2013-10-09 06:22:40.000000000 +0200
+++ makeint.h 2014-10-04 18:46:55.144449922 +0200
@@ -73,7 +73,7 @@
#include <stdio.h>
#include <ctype.h>
-#ifdef HAVE_SYS_TIMEB_H
+#if defined(HAVE_SYS_TIMEB_H) && !defined(__FreeBSD__)
/* SCO 3.2 "devsys 4.2" has a prototype for 'ftime' in <time.h> that bombs
unless <sys/timeb.h> has been included first. */
# include <sys/timeb.h>