diff --git a/ChangeLog b/ChangeLog
index 8217c5a1432e1588992e5847765bcb1ed852c181..32535259eaa714ffda4568d8aa9e3ae3c9e835d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,11 @@
 2001-06-17  Niels M�ller  <nisse@lysator.liu.se>
 
+	* Makefile.am (des_headers): Dont use $(srcdir)/-prefixes as that
+	seems to break with GNU make 3.79.1.
+
 	* testsuite/testutils.c, testsuite/testutils.h: Use <inttypes.h>,
 	not <stdint.h>.
+	Include <stdlib.h>.
 
 2001-06-17  Niels M�ller  <nisse@cuckoo.hack.org>
 
diff --git a/Makefile.am b/Makefile.am
index 27f3d9d6d88e3e85ae74e7be6dc18840c36a2a12..c6ceaa46fc24c5b98b4fd6ab0382d3cfe9320949 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -31,7 +31,9 @@ EXTRA_DIST = macros.h memxor.h $(des_headers) descore.README nettle.html
 	 ; test -s $@T && mv -f $@T $@)
 
 # desCore rules
-des_headers = $(srcdir)/parity.h $(srcdir)/rotors.h $(srcdir)/keymap.h 
+# It seems using $(srcdir)/ doesn't work with GNU make 3.79.1
+# des_headers = $(srcdir)/parity.h $(srcdir)/rotors.h $(srcdir)/keymap.h 
+des_headers = parity.h rotors.h keymap.h 
 
 # Generate DES headers.
 $(des_headers): desdata