Fix Solaris build

This commit is contained in:
Alexander Zakharov 2018-10-31 10:51:13 +03:00
parent c16b74a974
commit ca03f60a09

5
xwin.c
View File

@ -42,6 +42,11 @@
#define HOST_NAME_MAX MAXHOSTNAMELEN
#endif
#ifdef __sun
#include <netdb.h>
#define HOST_NAME_MAX MAXHOSTNAMELEN
#endif
extern RD_BOOL g_user_quit;
extern RD_BOOL g_exit_mainloop;