Skip to content

Commit

Permalink
Include <term.h> to call tgetstr
Browse files Browse the repository at this point in the history
  • Loading branch information
LegalizeAdulthood committed Feb 24, 2024
1 parent e06cc43 commit 9c9bfa7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libtrn/terminal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
#include "util.h"
#include "util2.h"

#ifdef HAS_TERMLIB
#ifndef MSDOS
#include <term.h>
#endif
#endif

#ifdef MSDOS
#include <conio.h>
#endif
Expand Down

0 comments on commit 9c9bfa7

Please sign in to comment.