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:
Siddhesh Poyarekar 2014-07-10 14:18:13 +05:30
parent d62aa75af1
commit c3c7c3604f
2 changed files with 3 additions and 5 deletions

View File

@ -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.

View File

@ -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>