mirror of
https://github.com/troglobit/finit.git
synced 2026-10-05 15:23:31 +07:00
Follow-up to 280d91b, fix conio.h namespace
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+5
-4
@@ -32,9 +32,14 @@
|
|||||||
#include <sys/reboot.h>
|
#include <sys/reboot.h>
|
||||||
#include <termios.h>
|
#include <termios.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Define for printheader() from conio.h, used in initctl */
|
||||||
|
#define SCREEN_WIDTH ttcols
|
||||||
#ifdef _LIBITE_LITE
|
#ifdef _LIBITE_LITE
|
||||||
|
# include <libite/conio.h>
|
||||||
# include <libite/lite.h>
|
# include <libite/lite.h>
|
||||||
#else
|
#else
|
||||||
|
# include <lite/conio.h>
|
||||||
# include <lite/lite.h>
|
# include <lite/lite.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -47,10 +52,6 @@ extern int ttrows;
|
|||||||
extern int ttcols;
|
extern int ttcols;
|
||||||
extern char *prognm;
|
extern char *prognm;
|
||||||
|
|
||||||
/* Define for printheader() from conio.h, used in initctl */
|
|
||||||
#define SCREEN_WIDTH ttcols
|
|
||||||
#include <lite/conio.h>
|
|
||||||
|
|
||||||
char *progname (char *arg0);
|
char *progname (char *arg0);
|
||||||
|
|
||||||
char *str (char *fmt, ...);
|
char *str (char *fmt, ...);
|
||||||
|
|||||||
Reference in New Issue
Block a user