strike most poll.h, use winsock2.h on windows

pull/1971/head
nick black 3 years ago committed by nick black
parent 432f9b0317
commit ed99ac670e

@ -1,4 +1,3 @@
#include <poll.h>
#include <errno.h>
#include <fcntl.h>
#include <unistd.h>

@ -1,4 +1,3 @@
#include <poll.h>
#include <fcntl.h>
#include <unistd.h>
#include <pthread.h>

@ -1,7 +1,6 @@
#include "input.h"
#include "internal.h"
#include "notcurses/direct.h"
#include <poll.h>
#include <ncurses.h> // needed for some definitions, see terminfo(3ncurses)
#include <term.h>
#include <ctype.h>

@ -8,10 +8,13 @@ extern "C" {
#include "version.h"
#include "builddef.h"
#if defined(__MINGW64__)
#include <winsock2.h>
#else
#include <poll.h>
#endif
#include <term.h>
#include <time.h>
#include <poll.h>
#include <stdio.h>
#include <stdint.h>
#include <unistd.h>

@ -4,7 +4,6 @@
#include "egcpool.h"
#include "internal.h"
#include <ncurses.h> // needed for some definitions, see terminfo(3ncurses)
#include <poll.h>
#include <zlib.h>
#include <time.h>
#include <term.h>

Loading…
Cancel
Save