$NetBSD: patch-ac,v 1.4 2015/05/24 12:31:59 krytarowski Exp $

Don't import crypt.h unconditionally.

--- oobs/oobs-user.c.orig	2010-08-22 13:08:11.000000000 +0000
+++ oobs/oobs-user.c
@@ -19,12 +19,15 @@
  *          Milan Bouchet-Valat <nalimilan@club.fr>.
  */
 
+#include "config.h"
 #include <glib-object.h>
 #include <sys/types.h>
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
+#ifdef HAVE_CRYPT_H
 #include <crypt.h>
+#endif
 #include <utmpx.h>
 
 #include "oobs-object-private.h"
