mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
Fix -Wundef warning for HAVE_OBSTACK
Remove the HAVE_OBSTACK macro check and include obstack check in include path order since we don't have a copy of obstack.h in the current directory.
This commit is contained in:
parent
d62aa75af1
commit
c3c7c3604f
@ -1,5 +1,7 @@
|
||||
2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||
|
||||
* locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
|
||||
|
||||
[BZ #17125]
|
||||
* sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
|
||||
libc_freeres_ptr.
|
||||
|
@ -27,11 +27,7 @@
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#if HAVE_OBSTACK
|
||||
# include <obstack.h>
|
||||
#else
|
||||
# include "obstack.h"
|
||||
#endif
|
||||
#include <obstack.h>
|
||||
|
||||
#ifdef HAVE_VALUES_H
|
||||
# include <values.h>
|
||||
|
Loading…
Reference in New Issue
Block a user