* Try harder to find libcrypt.*, even if there is no static library
available. Also look in /usr/lib/*/ for the library, to handle
Debian multiarch systems. Based on patch from Andrew Gregory.
+ * Adjust included headers to be compatible with the musl C
+ library. Patch from Matias A. Fonzo and Dragora.
-- Petter Reinholdtsen <pere@hungry.com> Sun Apr 11 11:28:55 CEST 2010
#include <unistd.h>
#include <time.h>
#include <string.h>
+#include <errno.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <sys/time.h>
-#include <sys/errno.h>
#include <net/if.h>
#include <netinet/in.h>
#include <utmp.h>
#include <ctype.h>
#include <stdarg.h>
+#include <sys/ttydefaults.h>
#include <sys/syslog.h>
#include <sys/time.h>