opnsense-ports/emulators/o2em/files/patch-timefunc.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 lines
369 B
C

diff -urN ../o2em117src.old/src/timefunc.c ./src/timefunc.c
--- ../o2em117src.old/src/timefunc.c Fri Jun 24 16:02:21 2005
+++ ./src/timefunc.c Fri Jun 24 16:00:46 2005
@@ -43,7 +43,7 @@
#elif defined(ALLEGRO_UNIX) || defined(ALLEGRO_LINUX)
-#ifdef _BSD_SOURCE
+#if defined(_BSD_SOURCE) || defined(FREEBSD)
/* Unix with gettimeofday */
long gettimeticks(void){