diff options
Diffstat (limited to 'src/vmwaremodule.c')
-rw-r--r-- | src/vmwaremodule.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/vmwaremodule.c b/src/vmwaremodule.c index caa7d68..392062f 100644 --- a/src/vmwaremodule.c +++ b/src/vmwaremodule.c @@ -34,6 +34,11 @@ #include <xf86drm.h> #endif +#ifndef HAVE_XORG_SERVER_1_5_0 +#include <xf86_ansic.h> +#include <xf86_libc.h> +#endif + /* * Defines and exported module info. */ @@ -188,7 +193,7 @@ vmware_chain_module(pointer opts) gdev->driver = driver_name; } - xfree(gdevs); + free(gdevs); if (!matched) { if (xf86LoadOneModule(driver_name, opts) == NULL) { |