summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/auth.c3
-rw-r--r--os/connection.c3
-rw-r--r--os/secauth.c3
-rw-r--r--os/utils.c3
4 files changed, 4 insertions, 8 deletions
diff --git a/os/auth.c b/os/auth.c
index 19c5534d3..d170ef8d8 100644
--- a/os/auth.c
+++ b/os/auth.c
@@ -48,8 +48,7 @@ from The Open Group.
# include <sys/types.h>
# include <sys/stat.h>
#ifdef XCSECURITY
-#define _SECURITY_SERVER
-# include <X11/extensions/security.h>
+# include "securitysrv.h"
#endif
#ifdef WIN32
#include <X11/Xw32defs.h>
diff --git a/os/connection.c b/os/connection.c
index eb1bcbef9..2fc3e8cec 100644
--- a/os/connection.c
+++ b/os/connection.c
@@ -154,8 +154,7 @@ extern __const__ int _nfiles;
#include "xace.h"
#endif
#ifdef XCSECURITY
-#define _SECURITY_SERVER
-#include <X11/extensions/security.h>
+#include "securitysrv.h"
#endif
#ifdef X_NOT_POSIX
diff --git a/os/secauth.c b/os/secauth.c
index 1000b4e79..8c8700812 100644
--- a/os/secauth.c
+++ b/os/secauth.c
@@ -37,8 +37,7 @@ from The Open Group.
#include "swaprep.h"
#ifdef XCSECURITY
-#define _SECURITY_SERVER
-#include <X11/extensions/security.h>
+#include "securitysrv.h"
#endif
static char InvalidPolicyReason[] = "invalid policy specification";
diff --git a/os/utils.c b/os/utils.c
index 617d20119..f977b837c 100644
--- a/os/utils.c
+++ b/os/utils.c
@@ -120,8 +120,7 @@ OR PERFORMANCE OF THIS SOFTWARE.
#include <X11/extensions/XKBsrv.h>
#endif
#ifdef XCSECURITY
-#define _SECURITY_SERVER
-#include <X11/extensions/security.h>
+#include "securitysrv.h"
#endif
#ifdef RENDER