aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk')
-rw-r--r--ui/gtk/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c
index d809cc19c7..ad723142f3 100644
--- a/ui/gtk/main.c
+++ b/ui/gtk/main.c
@@ -49,6 +49,10 @@
#include <zlib.h> /* to get the libz version number */
#endif
+#ifdef HAVE_LIBCAP
+# include <sys/capability.h>
+#endif
+
#ifdef _WIN32 /* Needed for console I/O */
#include <fcntl.h>