centralize ncurses.h include

This commit is contained in:
nick black 2021-08-02 07:37:27 -04:00 committed by nick black
parent ecf24256a1
commit c2cb9508da
2 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,6 @@ jobs:
mingw-w64-ucrt-x86_64-doctest
mingw-w64-ucrt-x86_64-ffmpeg
mingw-w64-ucrt-x86_64-libunistring
mingw-w64-ucrt-x86_64-ncurses
mingw-w64-ucrt-x86_64-rust
mingw-w64-ucrt-x86_64-toolchain

View File

@ -26,6 +26,7 @@ extern "C" {
#include <unictype.h>
#ifndef __MINGW64__
#include <langinfo.h>
#include <ncurses.h> // needed for some definitions, see terminfo(3ncurses)
#endif
#include "notcurses/notcurses.h"
#include "termdesc.h"