[PATCH xserver 08/19] loader: Include fewer headers from xf86Module.h

Adam Jackson ajax at redhat.com
Mon Jan 23 19:32:22 UTC 2017


This looks like more, but only if you don't compare it to the number
pulled in by misc.h.

Signed-off-by: Adam Jackson <ajax at redhat.com>
---
 hw/xfree86/common/xf86Module.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/hw/xfree86/common/xf86Module.h b/hw/xfree86/common/xf86Module.h
index cd4227a..7d09a1b 100644
--- a/hw/xfree86/common/xf86Module.h
+++ b/hw/xfree86/common/xf86Module.h
@@ -41,8 +41,10 @@
 #ifndef _XF86MODULE_H
 #define _XF86MODULE_H
 
-#include "misc.h"
-#include "extension.h"
+#include <X11/Xfuncproto.h>
+#include <X11/Xdefs.h>
+#include <X11/Xmd.h>
+
 #ifndef NULL
 #define NULL ((void *)0)
 #endif
-- 
2.9.3



More information about the xorg-devel mailing list