1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/databases/typhoon/files/patch-ag
Kevin Lo afec5bbcdb Support CC/CFLAGS properly.
PR: 22987
Submitted by: MAINTAINER
2000-11-21 15:46:38 +00:00

12 lines
300 B
Plaintext

--- src/os.c.orig Mon May 22 01:47:31 1995
+++ src/os.c Sat Nov 18 02:11:18 2000
@@ -42,7 +42,7 @@
# include <sys/stat.h>
# include <unistd.h>
#endif
-#ifdef __linux__
+#if defined( __linux__ ) || defined( __FreeBSD__ )
# include <sys/file.h>
# define F_TLOCK LOCK_NB
# define F_LOCK LOCK_EX