Fix FreeBSD build

This commit is contained in:
Alexander Zakharov 2019-01-18 13:01:12 +03:00
parent 4dca546d04
commit bb1c90fb49

4
xwin.c
View File

@ -47,6 +47,10 @@
#define HOST_NAME_MAX MAXHOSTNAMELEN
#endif
#ifdef __FreeBSD__
#define HOST_NAME_MAX _POSIX_HOST_NAME_MAX
#endif
extern RD_BOOL g_user_quit;
extern RD_BOOL g_exit_mainloop;