Guard langinfo.h nl_item from multiple typedefs

This is a prerequisite of adding nl_types.h support to Cygwin.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
Yaakov Selkowitz 2018-01-18 23:53:18 -06:00
parent b7e0f286a2
commit bd62f539de
1 changed files with 3 additions and 0 deletions

View File

@ -36,7 +36,10 @@
#include <xlocale.h>
#endif
#ifndef _NL_ITEM_DECLARED
typedef int nl_item;
#define _NL_ITEM_DECLARED
#endif
enum __nl_item
{