summaryrefslogtreecommitdiffstats
path: root/krfb/libvncserver
diff options
context:
space:
mode:
Diffstat (limited to 'krfb/libvncserver')
-rw-r--r--krfb/libvncserver/rfb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/krfb/libvncserver/rfb.h b/krfb/libvncserver/rfb.h
index 53996812..a2ce39fc 100644
--- a/krfb/libvncserver/rfb.h
+++ b/krfb/libvncserver/rfb.h
@@ -67,7 +67,7 @@ typedef unsigned long KeySym;
#include "rfbproto.h"
-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
#include <endian.h>
#elif defined(__APPLE__) || defined(__FreeBSD__)
#include <sys/types.h>