summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/app/gtksys.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-10-13 15:41:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-10-13 15:41:23 +0100
commitd863b3d5cb7ce6f21241e89dc01de797b4d0c3c5 (patch)
tree319c568ca84caeae735a27397fa4885e4bfed793 /vcl/unx/gtk/app/gtksys.cxx
parent778b755a3fe25b887e00b93daa5d169072a195fe (diff)
tweaks for AIX
Diffstat (limited to 'vcl/unx/gtk/app/gtksys.cxx')
-rw-r--r--vcl/unx/gtk/app/gtksys.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/unx/gtk/app/gtksys.cxx b/vcl/unx/gtk/app/gtksys.cxx
index 272af20d0886..094cd470d09d 100644
--- a/vcl/unx/gtk/app/gtksys.cxx
+++ b/vcl/unx/gtk/app/gtksys.cxx
@@ -28,6 +28,12 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_vcl.hxx"
+#ifdef AIX
+#define _LINUX_SOURCE_COMPAT
+#include <sys/timer.h>
+#undef _LINUX_SOURCE_COMPAT
+#endif
+
#include <svunx.h>
#include <vcl/svdata.hxx>
#include <vcl/window.hxx>