Add a missing #include to dl-sym.c.
authorRoland McGrath <roland@hack.frob.com>
Thu, 16 Aug 2012 00:02:22 +0000 (17:02 -0700)
committerRoland McGrath <roland@hack.frob.com>
Thu, 16 Aug 2012 00:02:22 +0000 (17:02 -0700)
ChangeLog
elf/dl-sym.c

index 3f7759e..004eb83 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2012-08-15  Roland McGrath  <roland@hack.frob.com>
 
+       * elf/dl-sym.c: Include <stdlib.h>.
+
        * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
        constants, which avoids warnings in 32-bit builds.
 
index 1e7ad22..6480f23 100644 (file)
@@ -1,5 +1,5 @@
 /* Look up a symbol in a shared object loaded by `dlopen'.
-   Copyright (C) 1999-2002,2004,2006,2007,2009 Free Software Foundation, Inc.
+   Copyright (C) 1999-2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -19,6 +19,7 @@
 #include <assert.h>
 #include <stddef.h>
 #include <setjmp.h>
+#include <stdlib.h>
 #include <libintl.h>
 
 #include <dlfcn.h>