diff options
Diffstat (limited to 'usr.sbin/i4b/isdnmonitor/main.c')
-rw-r--r-- | usr.sbin/i4b/isdnmonitor/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/i4b/isdnmonitor/main.c b/usr.sbin/i4b/isdnmonitor/main.c index 1a0a1e89..3a2b122 100644 --- a/usr.sbin/i4b/isdnmonitor/main.c +++ b/usr.sbin/i4b/isdnmonitor/main.c @@ -72,6 +72,9 @@ int getopt(int nargc, char * const nargv[], const char *ostr); #ifdef ERROR #undef ERROR #endif +#ifdef __FreeBSD__ +#include <osreldate.h> +#endif #define MAIN #include "monprivate.h" @@ -518,9 +521,6 @@ print_logevent(time_t tstamp, int prio, char * what, char * msg) * to write to the last column in the logfilewindow without causing an * automatic newline to occur resulting in a blank line in that window. */ -#ifdef __FreeBSD__ -#include <osreldate.h> -#endif #if defined(__FreeBSD_version) && __FreeBSD_version >= 400009 #warning "FreeBSD ncurses is buggy: write to last column = auto newline!" wprintw(lower_w, "%s %s %-.*s\n", buf, what, |