Support FreeBSD in the default configuration

FreeBSD support is basically just very small changes related to
some different includes and one define to not hide non-standard defines
like B115200.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
This commit is contained in:
Arne Schwabe
2024-09-12 13:43:38 +02:00
committed by Erik Ekman
parent 3cae475d63
commit c06cc7655d
3 changed files with 8 additions and 1 deletions

View File

@@ -41,6 +41,8 @@
#define LWIP_UNIX_MACH
#elif defined __OpenBSD__
#define LWIP_UNIX_OPENBSD
#elif defined __FreeBSD__
#define LWIP_UNIX_FREEBSD
#elif defined __FreeBSD_kernel__ && __GLIBC__
#define LWIP_UNIX_KFREEBSD
#elif defined __CYGWIN__