]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Fix be64enc test on NetBSD.
authorRoy Marples <roy@marples.name>
Thu, 5 Jun 2014 13:56:16 +0000 (13:56 +0000)
committerRoy Marples <roy@marples.name>
Thu, 5 Jun 2014 13:56:16 +0000 (13:56 +0000)
configure

index a0803789d654802f13f923af7af6f461e41cf576..317ff8027b2103037cfea04cfb4e03e0aed9a2ac 100755 (executable)
--- a/configure
+++ b/configure
@@ -755,6 +755,7 @@ if [ -z "$BE64ENC" ]; then
        printf "Testing for be64enc ... "
        cat <<EOF >_be64enc.c
 #include <sys/endian.h>
+#include <stdlib.h>
 int main(void) {
        be64enc(NULL, 0);
 }