diff options
author | Eric Anholt <anholt@freebsd.org> | 2006-02-10 22:00:30 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2006-02-10 22:00:30 +0000 |
commit | c3d14036729fd186d4ec7ca1de603e1f2d174e2f (patch) | |
tree | 6fc1290e4da4a16eea3c10c250d302df6b9e98c2 /hw/xfree86/exa | |
parent | a8cec1b656f57746758613213de1d6e5acb79451 (diff) |
Remove libcwrapper usage from xorg server modules. The libcwrapper is only
of (marginal) use in the drivers, and that usage remains.
Diffstat (limited to 'hw/xfree86/exa')
-rw-r--r-- | hw/xfree86/exa/exa_migration.c | 3 | ||||
-rw-r--r-- | hw/xfree86/exa/exa_offscreen.c | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/hw/xfree86/exa/exa_migration.c b/hw/xfree86/exa/exa_migration.c index 2acda24da..270ad7541 100644 --- a/hw/xfree86/exa/exa_migration.c +++ b/hw/xfree86/exa/exa_migration.c @@ -25,6 +25,9 @@ #ifdef HAVE_CONFIG_H #include <xorg-config.h> #endif + +#include <string.h> + #include "exa_priv.h" #include <X11/fonts/fontstruct.h> #include "dixfontstr.h" diff --git a/hw/xfree86/exa/exa_offscreen.c b/hw/xfree86/exa/exa_offscreen.c index b0b19f501..c3a2af642 100644 --- a/hw/xfree86/exa/exa_offscreen.c +++ b/hw/xfree86/exa/exa_offscreen.c @@ -22,6 +22,10 @@ #include "exa_priv.h" +#include <sys/limits.h> +#include <assert.h> +#include <stdlib.h> + #if DEBUG_OFFSCREEN #define DBG_OFFSCREEN(a) ErrorF a #else @@ -120,7 +124,7 @@ exaOffscreenAlloc (ScreenPtr pScreen, int size, int align, /* prev points at the first object to boot */ best = NULL; - best_score = MAXINT; + best_score = INT_MAX; for (begin = pExaScr->info->card.offScreenAreas; begin != NULL; begin = begin->next) { |