mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-09 19:00:08 +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>
|
2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
|
* locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
|
||||||
|
|
||||||
[BZ #17125]
|
[BZ #17125]
|
||||||
* sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
|
* sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
|
||||||
libc_freeres_ptr.
|
libc_freeres_ptr.
|
||||||
|
@ -27,11 +27,7 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#if HAVE_OBSTACK
|
#include <obstack.h>
|
||||||
# include <obstack.h>
|
|
||||||
#else
|
|
||||||
# include "obstack.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_VALUES_H
|
#ifdef HAVE_VALUES_H
|
||||||
# include <values.h>
|
# include <values.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user