Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

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