Make it compile on OpenIndiana.

This commit is contained in:
Dianne Skoll
2025-10-14 13:57:39 -04:00
parent 15960f7e4a
commit 941cb0f63e

View File

@@ -13,6 +13,7 @@
#include "version.h"
#include "config.h"
#define __EXTENSIONS__
#ifdef REM_USE_WCHAR
#define _XOPEN_SOURCE 600
#include <wctype.h>
@@ -28,16 +29,15 @@
#include <strings.h>
#endif
#include <fcntl.h>
#include <ctype.h>
#include <math.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <termios.h>
#ifdef HAVE_SYS_TERMIOS_H
#include <sys/termios.h>
#endif
#include <ctype.h>
#include <math.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>