fix msys2 build for real

pull/2122/head
nick black 3 years ago
parent 2bd3fe5f92
commit e06226deee

@ -612,6 +612,7 @@ add_executable(ncls ${LSSRC})
target_include_directories(ncls
PRIVATE
include
src
"${CMAKE_REQUIRED_INCLUDES}"
"${PROJECT_BINARY_DIR}/include"
)

@ -38,6 +38,7 @@ extern "C" {
typedef struct siginfo_t {
int aieeee;
} siginfo_t;
#define sigemptyset(s) 0
#define sigset_t int
#define nl_langinfo(x) "UTF-8"
#define ppoll(w, x, y, z) WSAPoll((w), (x), (y))

@ -12,6 +12,7 @@
#include <pthread.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <compat/compat.h>
#include <ncpp/Direct.hh>
#ifndef __linux__
#define AT_NO_AUTOMOUNT 0 // not defined on freebsd

@ -4,6 +4,7 @@
#include <string.h>
#include <unistd.h>
#include <pthread.h>
#include <compat/compat.h>
#include <notcurses/notcurses.h>
static bool fddone;

Loading…
Cancel
Save