summaryrefslogtreecommitdiff
path: root/vcl/unx/gtk/window/gtkobject.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/window/gtkobject.cxx
parent778b755a3fe25b887e00b93daa5d169072a195fe (diff)
tweaks for AIX
Diffstat (limited to 'vcl/unx/gtk/window/gtkobject.cxx')
-rw-r--r--vcl/unx/gtk/window/gtkobject.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/unx/gtk/window/gtkobject.cxx b/vcl/unx/gtk/window/gtkobject.cxx
index aefb60f5606b..58c63c4044e3 100644
--- a/vcl/unx/gtk/window/gtkobject.cxx
+++ b/vcl/unx/gtk/window/gtkobject.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 <plugins/gtk/gtkobject.hxx>
#include <plugins/gtk/gtkframe.hxx>
#include <plugins/gtk/gtkdata.hxx>