Remove crypt.h

gb.crypt does not need crypt.h because it only uses crypt functions from
unistd.h. On non-linux systems there is no crypt.h which causes autoconf
to fail.
This commit is contained in:
bgermann 2018-08-29 09:26:48 +02:00
parent 502244a23c
commit f04492c9ac
2 changed files with 0 additions and 5 deletions

View File

@ -9,7 +9,6 @@ AC_PROG_LIBTOOL
GB_COMPONENT(
crypt, CRYPT, gb.crypt, [src],
[GB_FIND(crypt.h, $prefix /usr/lib /usr, include)],
[GB_FIND(libcrypt.$SHLIBEXT, $prefix /usr/local /usr, lib)],
[-lcrypt])

View File

@ -30,10 +30,6 @@
#include "gb_common.h"
#ifndef OS_BSD
#include <crypt.h>
#endif
#include "c_crypt.h"
#include "main.h"