summaryrefslogtreecommitdiff
path: root/app-arch/arc/files/arc-5.21m-gentoo-fbsd.patch
blob: f2762f74b9d27e37d0bb133bfabddf533b8d456e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/tmclock.c
+++ b/tmclock.c
@@ -18,8 +18,10 @@
 #include <sys/time.h>
 #else
 #include <time.h>
+#ifdef timezone
 extern long	timezone;	/* should be in <time.h>, but isn't on Sun */
 #endif
+#endif
 
 long	tzone;