Index: elfutils-0.122/src/strings.c
===================================================================
--- elfutils-0.122.orig/src/strings.c	2006-07-21 01:25:56.000000000 +0200
+++ elfutils-0.122/src/strings.c	2006-07-21 01:26:25.000000000 +0200
@@ -495,6 +495,9 @@
 		    fd, start_off);
       if (mem != MAP_FAILED)
 	{
+#ifndef POSIX_MADV_SEQUENTIAL
+#define POSIX_MADV_SEQUENTIAL MADV_SEQUENTIAL
+#endif
 	  /* We will go through the mapping sequentially.  */
 	  (void) posix_madvise (mem, map_size, POSIX_MADV_SEQUENTIAL);
 	  break;

