freebsd-ports/editors/emacs23/files/patch-src-filelock.c
Philip M. Gollucci 14046789e0 - fix utmp.h -> utmpx.h
fixes are included in upstream e-mail so this is temporary

PR:             ports/143113
Submitted by:   Giorgos Keramidas <keramida@freebsd.org> (maintainer)
2010-02-02 07:03:11 +00:00

12 lines
303 B
C

--- src/filelock.c.orig 2009-06-21 07:38:14.000000000 +0300
+++ src/filelock.c 2010-01-23 11:34:48.414989942 +0200
@@ -62,7 +62,9 @@
#ifdef CLASH_DETECTION
+#ifdef HAVE_UTMP_H
#include <utmp.h>
+#endif
#if !defined (S_ISLNK) && defined (S_IFLNK)
#define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)