[PATCH 4/4] Do not include X11/Xfuncs.h anymore: b{copy, zero, cmp} are not in use

Mikhail Gusarov dottedmag at dottedmag.net
Fri Jun 4 01:52:42 PDT 2010


Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
---
 include/misc.h |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/include/misc.h b/include/misc.h
index 62d813e..7eea722 100644
--- a/include/misc.h
+++ b/include/misc.h
@@ -108,7 +108,8 @@ typedef struct _CallbackList *CallbackListPtr; /* also in dix.h */
 typedef struct _xReq *xReqPtr;
 
 #include "os.h" 	/* for ALLOCATE_LOCAL and DEALLOCATE_LOCAL */
-#include <X11/Xfuncs.h> /* for bcopy, bzero, and bcmp */
+
+#include <string.h>
 
 #define NullBox ((BoxPtr)0)
 #define MILLI_PER_MIN (1000 * 60)
-- 
1.7.1



More information about the xorg-devel mailing list