2013-09-26 17:14:40 +02:00

19 lines
485 B
Plaintext

$NetBSD: patch-ae,v 1.6 2003/03/28 10:55:22 wiz Exp $
--- src/logging.h.orig Tue Oct 1 06:33:47 2002
+++ src/logging.h
@@ -31,4 +31,13 @@
#include "logging.intpro" /* PROTOS for internal routines */
#endif
+
+/* lastlogx support is incomplete on the NetBSD 1.6-branch -- disable it */
+#ifdef __NetBSD__
+# include <sys/param.h>
+# if __NetBSD_Version__ >= 106000000 && __NetBSD_Version__ < 106010000
+# undef HAVE_STRUCT_LASTLOGX
+# endif
+#endif
+
#endif /* _LOGGING_H_ */