Merge pull request #301 from uglym8/fix_freebsd_build

Fix FreeBSD build
This commit is contained in:
Henrik Andersson 2019-01-18 11:15:12 +01:00 committed by GitHub
commit 70931792f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;