Commits (1)
...@@ -111,7 +111,7 @@ static int _putch(unsigned char ch, BOOL refresh_now, int cp) ...@@ -111,7 +111,7 @@ static int _putch(unsigned char ch, BOOL refresh_now, int cp)
cchar_t cha; cchar_t cha;
wchar_t wch[2] = {0}; wchar_t wch[2] = {0};
attr_t attr = 0; attr_t attr = 0;
short cpair; short cpair = 0;
attr_get(&attr, &cpair, NULL); attr_get(&attr, &cpair, NULL);
attr &= ~A_COLOR; attr &= ~A_COLOR;
......
#include <math.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdlib.h> #include <stdlib.h>
......
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
* event thread. * event thread.
*/ */
#include <math.h>
#include <unistd.h> #include <unistd.h>
#include <stdbool.h> #include <stdbool.h>
......
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include <dirwrap.h> #include <dirwrap.h>
#include <ini_file.h> #include <ini_file.h>
#include <uifc.h> #include <uifc.h>
#include <xpprintf.h>
#include "filepick.h" #include "filepick.h"
#include "syncterm.h" #include "syncterm.h"
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#if defined(__unix__) #if defined(__unix__)
#include <unistd.h> #include <unistd.h>
#endif #endif
#include <time.h>
#include <vidmodes.h> #include <vidmodes.h>
#include <xpbeep.h> #include <xpbeep.h>
   
......
...@@ -18,7 +18,7 @@ char* ltoa(long val, char* str, int radix); ...@@ -18,7 +18,7 @@ char* ltoa(long val, char* str, int radix);
#endif #endif
#ifdef _MSVC #if defined(_MSC_VER) || defined(__MSVCRT__)
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
......