From 7072ec78c27e2a15b9ab854932b2615def5a247a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Fri, 1 May 1998 17:41:03 +0200 Subject: [PATCH] Now includes <sys/file.h> if it exists (flock() is there on OSF/1). Rev: src/modules/files/file.c:1.93 --- src/modules/files/file.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/modules/files/file.c b/src/modules/files/file.c index c3aeeaf621..7ffae3f876 100644 --- a/src/modules/files/file.c +++ b/src/modules/files/file.c @@ -5,7 +5,7 @@ \*/ #include "global.h" -RCSID("$Id: file.c,v 1.92 1998/04/23 23:45:34 hubbe Exp $"); +RCSID("$Id: file.c,v 1.93 1998/05/01 15:41:03 grubba Exp $"); #include "fdlib.h" #include "interpret.h" #include "svalue.h" @@ -38,6 +38,10 @@ RCSID("$Id: file.c,v 1.92 1998/04/23 23:45:34 hubbe Exp $"); #include <fcntl.h> #include <signal.h> +#ifdef HAVE_SYS_FILE_H +#include <sys/file.h> +#endif /* HAVE_SYS_FILE_H */ + #ifdef HAVE_SYS_SOCKET_H # include <sys/socket.h> #endif -- GitLab