diff -x '*~' -ur opencdk-0.5.5/configure.ac opencdk-0.5.5-fbsd/configure.ac --- opencdk-0.5.5/configure.ac 2004-06-05 19:46:31.000000000 +0200 +++ opencdk-0.5.5-fbsd/configure.ac 2005-06-10 14:48:35.280967896 +0200 @@ -76,7 +76,7 @@ AC_STDC_HEADERS -AC_HAVE_HEADERS(stdio.h string.h pwd.h netdb.h) +AC_HAVE_HEADERS(stdio.h string.h pwd.h netdb.h malloc.h) if test "$GCC" = yes; then CFLAGS="$CFLAGS -Wall -Wcast-align -Wshadow -Wstrict-prototypes" diff -x '*~' -ur opencdk-0.5.5/src/encrypt.c opencdk-0.5.5-fbsd/src/encrypt.c --- opencdk-0.5.5/src/encrypt.c 2003-11-13 13:54:06.000000000 +0100 +++ opencdk-0.5.5-fbsd/src/encrypt.c 2005-06-10 15:00:43.709229968 +0200 @@ -24,7 +24,9 @@ #endif #include #include +#ifdef HAVE_MALLOC_H #include +#endif #include #include "opencdk.h" diff -x '*~' -ur opencdk-0.5.5/src/main.c opencdk-0.5.5-fbsd/src/main.c --- opencdk-0.5.5/src/main.c 2003-10-31 08:19:26.000000000 +0100 +++ opencdk-0.5.5-fbsd/src/main.c 2005-06-10 14:47:43.100900472 +0200 @@ -24,7 +24,9 @@ #endif #include #include +#ifdef HAVE_MALLOC_H #include +#endif #ifdef HAVE_PWD_H # include #endif diff -x '*~' -ur opencdk-0.5.5/src/misc.c opencdk-0.5.5-fbsd/src/misc.c --- opencdk-0.5.5/src/misc.c 2003-11-13 13:53:02.000000000 +0100 +++ opencdk-0.5.5-fbsd/src/misc.c 2005-06-10 15:00:45.919893896 +0200 @@ -27,7 +27,9 @@ #include #include #include +#ifdef HAVE_MALLOC_H #include +#endif #include "opencdk.h" #include "main.h"