freebsd-ports/x11-toolkits/libzvt/files/patch-gnome-utmp.c
Ed Schouten a19736a2d9 Unbreak libzvt on HEAD.
Use similar patches that have been used for gnome-libs and vte as well.

Approved by:	miwi (portmgr, implicit)
2010-01-20 23:02:08 +00:00

13 lines
219 B
C

--- libzvt/gnome-utmp.c
+++ libzvt/gnome-utmp.c
@@ -33,7 +33,9 @@
# endif
#endif
-#include <utmp.h>
+#if defined(HAVE_UTMP_H)
+# include <utmp.h>
+#endif
#if defined(HAVE_LASTLOG_H)
# include <lastlog.h>