From f04492c9ac9fc491539e076db8815877cbd22064 Mon Sep 17 00:00:00 2001 From: bgermann Date: Wed, 29 Aug 2018 09:26:48 +0200 Subject: [PATCH] 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. --- gb.crypt/configure.ac | 1 - gb.crypt/src/c_crypt.c | 4 ---- 2 files changed, 5 deletions(-) diff --git a/gb.crypt/configure.ac b/gb.crypt/configure.ac index d3915624a..5b6cd3817 100644 --- a/gb.crypt/configure.ac +++ b/gb.crypt/configure.ac @@ -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]) diff --git a/gb.crypt/src/c_crypt.c b/gb.crypt/src/c_crypt.c index 69b4ce115..9355f835e 100644 --- a/gb.crypt/src/c_crypt.c +++ b/gb.crypt/src/c_crypt.c @@ -30,10 +30,6 @@ #include "gb_common.h" -#ifndef OS_BSD - #include -#endif - #include "c_crypt.h" #include "main.h"