summaryrefslogtreecommitdiff
path: root/driver/xf86-input-joystick/src/jstk_options.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/xf86-input-joystick/src/jstk_options.c')
-rw-r--r--driver/xf86-input-joystick/src/jstk_options.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/driver/xf86-input-joystick/src/jstk_options.c b/driver/xf86-input-joystick/src/jstk_options.c
index 42293a7a1..65f25f804 100644
--- a/driver/xf86-input-joystick/src/jstk_options.c
+++ b/driver/xf86-input-joystick/src/jstk_options.c
@@ -26,6 +26,7 @@
#include "config.h"
#endif
+#include <xorg-server.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -154,7 +155,7 @@ jstkParseButtonOption(const char* org,
xf86Msg(X_WARNING, "%s: error parsing button parameter.\n",
name);
}
- xfree(param);
+ free(param);
}
@@ -292,5 +293,5 @@ jstkParseAxisOption(const char* org,
}else xf86Msg(X_WARNING, "%s: error parsing deadzone.\n",
name);
}
- xfree(param);
+ free(param);
}