Apache OpenOffice (AOO) Bugzilla – Attachment #6014: Kevin's suggestion for issue #14044
#ifndef _POSTX_H
#define _POSTX_H
#if defined __cplusplus && ! defined LINUX
#if defined __cplusplus
}
#endif
struct _XDisplay;
#if defined __cplusplus &&
extern "C" {
#include <X11/X.h>