From f5abd1cb4884c239688dfb867d72a0446990a234 Mon Sep 17 00:00:00 2001 From: Paulo Cesar Pereira de Andrade Date: Sun, 16 Mar 2008 20:33:57 -0300 Subject: [PATCH] xf86dga doesn't require Xt, Xmu and Xaw. Remove inclusion of Xt/Xmu/Xaw headers and update includes to match missing libc and libX11 protypes. --- configure.ac | 2 +- dga.c | 20 +++++--------------- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/configure.ac b/configure.ac index c9113c4..ad6543c 100644 --- a/configure.ac +++ b/configure.ac @@ -32,7 +32,7 @@ AC_PROG_CC AC_PROG_INSTALL # Checks for pkg-config packages -PKG_CHECK_MODULES(XF86DGA, x11 xxf86dga xt xaw7 xmu) +PKG_CHECK_MODULES(XF86DGA, x11 xxf86dga) AC_SUBST(XF86DGA_CFLAGS) AC_SUBST(XF86DGA_LIBS) diff --git a/dga.c b/dga.c index 7305ecd..eb1ec6e 100644 --- a/dga.c +++ b/dga.c @@ -1,26 +1,16 @@ /* $XFree86: xc/programs/xf86dga/dga.c,v 3.19 2001/10/28 03:34:32 tsi Exp $ */ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include #include +#include #include #include #include #include +#include #include - +#include #define MINMAJOR 0 -- 1.5.3.2