mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
strike most poll.h, use winsock2.h on windows
This commit is contained in:
parent
432f9b0317
commit
ed99ac670e
@ -1,4 +1,3 @@
|
|||||||
#include <poll.h>
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#include <poll.h>
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#include "input.h"
|
#include "input.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
#include "notcurses/direct.h"
|
#include "notcurses/direct.h"
|
||||||
#include <poll.h>
|
|
||||||
#include <ncurses.h> // needed for some definitions, see terminfo(3ncurses)
|
#include <ncurses.h> // needed for some definitions, see terminfo(3ncurses)
|
||||||
#include <term.h>
|
#include <term.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
@ -8,10 +8,13 @@ extern "C" {
|
|||||||
#include "version.h"
|
#include "version.h"
|
||||||
#include "builddef.h"
|
#include "builddef.h"
|
||||||
|
|
||||||
|
#if defined(__MINGW64__)
|
||||||
|
#include <winsock2.h>
|
||||||
|
#else
|
||||||
#include <poll.h>
|
#include <poll.h>
|
||||||
|
#endif
|
||||||
#include <term.h>
|
#include <term.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <poll.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -4,7 +4,6 @@
|
|||||||
#include "egcpool.h"
|
#include "egcpool.h"
|
||||||
#include "internal.h"
|
#include "internal.h"
|
||||||
#include <ncurses.h> // needed for some definitions, see terminfo(3ncurses)
|
#include <ncurses.h> // needed for some definitions, see terminfo(3ncurses)
|
||||||
#include <poll.h>
|
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <term.h>
|
#include <term.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user