DtHelp: make it build

Use configure's endian checks to determine whether to set LSB in il/.

Add locale.h check, include to Helpos.c

Both via including autotools_config.h.
This commit is contained in:
Jon Trulson
2019-10-26 16:05:48 -06:00
parent 63ba9bac39
commit b0cc0c8747
4 changed files with 16 additions and 15 deletions

View File

@@ -42,11 +42,16 @@
****************************************************************************
************************************<+>*************************************/
#include <sys/param.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <autotools_config.h>
#if defined(HAVE_LOCALE_H)
#include <locale.h>
#endif
#define X_INCLUDE_PWD_H
#define XOS_USE_XT_LOCKING
#include <X11/Xos_r.h>