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 31 32 33 34 35 36 37 38 39 40 41 42
|
--- a/time.c
+++ b/time.c
@@ -73,7 +73,7 @@
/* Define this if your system lacks times(). */
/* #define LACK_TIMES */
-#ifdef linux
+#if defined(linux) || defined(__GLIBC__)
# include <sys/types.h>
# include <sys/time.h>
# include <sys/timeb.h>
--- a/scmfig.h
+++ b/scmfig.h
@@ -310,7 +310,7 @@ rgx.c init_rgx(); regcomp and regexec. *
# define STDC_HEADERS
#endif
-#ifdef linux
+#if defined(linux) || defined(__GLIBC__)
# define HAVE_SELECT
# define HAVE_SYS_TIME_H
# define STDC_HEADERS
@@ -765,7 +765,7 @@ typedef SCM *SCMPTR;
# include <unistd.h>
#endif
-#ifdef linux
+#if defined(linux) || defined(__GLIBC__)
# include <unistd.h>
#endif
--- a/findexec.c
+++ b/findexec.c
@@ -52,7 +52,7 @@ Wed Feb 21 23:06:35 1996 Aubrey Jaffer
# include <sys/file.h>
# include <sys/param.h>
# endif
-# ifdef linux
+# if defined(linux) || defined(__GLIBC__)
# include <string.h>
# include <stdlib.h>
# include <sys/stat.h>
|