Re: fix build on FreeBSD 16
Eric Bollengier via Bacula-devel <[email protected]> Thu, 2 Apr 2026 08:46:40 +0200
| Newsgroups | gmane.comp.sysutils.backup.bacula.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello Dan, Thanks Best Regards, Eric On 4/1/26 22:00, Dan Langille wrote: > Hello, > > The attached patch fixes the build for check_bacula on FreeBSD 16 - conio.c should be including this but isn't. Respected sources say "looks like a change caused by FreeBSD 16 upgrading to ncurses 6.6, so it will probably affect other OSes at some point too." > > The build error I get: > > conio.c:150:23: error: variable has incomplete type 'struct termios' > 150 | static struct termios old_term_params; > | ^ > conio.c:150:15: note: forward declaration of 'termios' > 150 | static struct termios old_term_params; > | ^ > conio.c:939:19: error: variable has incomplete type 'struct termios' > 939 | struct termios t; > > I'm running this patch under FreeBSD 15 without error. > > re https://sourceforge.net/p/bacula/mailman/message/59288082/ (which incorrectly says FreeBSD 15, not 16) > > > > _______________________________________________ > Bacula-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bacula-devel