This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED PATCH] missing #include in dl-sym.c
- From: Roland McGrath <roland at hack dot frob dot com>
- To: libc-alpha at sourceware dot org
- Date: Wed, 15 Aug 2012 17:03:03 -0700 (PDT)
- Subject: [COMMITTED PATCH] missing #include in dl-sym.c
* elf/dl-sym.c: Include <stdlib.h>.
diff --git a/elf/dl-sym.c b/elf/dl-sym.c
index 1e7ad22..6480f23 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>