diff options
Diffstat (limited to 'src/vmwarexinerama.c')
-rw-r--r-- | src/vmwarexinerama.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vmwarexinerama.c b/src/vmwarexinerama.c index 8b82eea..3476f43 100644 --- a/src/vmwarexinerama.c +++ b/src/vmwarexinerama.c @@ -43,6 +43,11 @@ #include "vmware.h" +#ifndef HAVE_XORG_SERVER_1_5_0 +#include <xf86_ansic.h> +#include <xf86_libc.h> +#endif + /* *---------------------------------------------------------------------------- @@ -629,7 +634,7 @@ VMwareXineramaResetProc(ExtensionEntry* extEntry) VMWAREPtr pVMWARE = VMWAREPTR(pScrn); if (pVMWARE->xineramaState) { - xfree(pVMWARE->xineramaState); + free(pVMWARE->xineramaState); pVMWARE->xineramaState = NULL; pVMWARE->xineramaNumOutputs = 0; pVMWARE->xinerama = FALSE; |