lib/DtWidgets: fix implicit-function-declaration warnings

This commit is contained in:
Jon Trulson
2021-11-12 15:05:56 -07:00
parent 36ff45cc17
commit fd3be337fa

View File

@@ -50,6 +50,10 @@
** Include Files ** Include Files
*/ */
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 600
#endif
#include <ctype.h> #include <ctype.h>
#include <stdlib.h> #include <stdlib.h>
@@ -62,13 +66,10 @@
# include <wchar.h> # include <wchar.h>
# endif # endif
# include <libintl.h> # include <libintl.h>
#elif defined(__linux__) #elif defined(__linux__) || defined(CSRG_BASED)
# include <wctype.h>
# define NO_putwc
#elif defined(CSRG_BASED)
# include <wctype.h> # include <wctype.h>
# include <wchar.h> # include <wchar.h>
#endif /* linux */ #endif /* linux || CSRG_BASED */
#include <sys/wait.h> #include <sys/wait.h>
#include "signal.h" #include "signal.h"