diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | elf/dl-sym.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 3f7759e10c..004eb836a0 100644 --- 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. diff --git a/elf/dl-sym.c b/elf/dl-sym.c index 1e7ad22583..6480f2359c 100644 --- a/elf/dl-sym.c +++ b/elf/dl-sym.c @@ -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> |