Fix build on current (remove inclusion of utmp.h).

This commit is contained in:
Alex Dupre 2010-01-19 10:56:11 +00:00
parent caa7ea90ee
commit a9f5be84b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248145

View file

@ -0,0 +1,12 @@
--- kksystr/include/kkiproc.h.orig 2010-01-19 11:48:25.000000000 +0100
+++ kksystr/include/kkiproc.h 2010-01-19 11:48:55.000000000 +0100
@@ -9,7 +9,9 @@
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
+#ifdef __linux__
#include <utmp.h>
+#endif
#include <string.h>
#include <ctype.h>