summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--elf/dl-load.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c16445a14b..35043c0908 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1998-04-24  Ulrich Drepper  <drepper@cygnus.com>
+
+	* elf/dl-load.c: Include sys/param.h for MAX.
+
 1998-04-24 21:44  Richard Henderson  <rth@cygnus.com>
 
 	* sysdeps/unix/sysv/linux/alpha/syscalls.list (ftruncate): Make
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 16534f4e1c..ce29e3c3d5 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -25,6 +25,7 @@
 #include <unistd.h>
 #include <elf/ldsodefs.h>
 #include <sys/mman.h>
+#include <sys/param.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include "dynamic-link.h"