summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dix/devices.c1
-rw-r--r--dix/main.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/dix/devices.c b/dix/devices.c
index 4dd1dc5f1..5606543f7 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -71,6 +71,7 @@ SOFTWARE.
#endif
#include "privates.h"
#include "xace.h"
+#include "mi.h"
#include "dispatch.h"
#include "swaprep.h"
diff --git a/dix/main.c b/dix/main.c
index 11ea29bba..328c0b4ba 100644
--- a/dix/main.c
+++ b/dix/main.c
@@ -240,7 +240,7 @@ int dix_main(int argc, char *argv[], char *envp[])
int main(int argc, char *argv[], char *envp[])
#endif
{
- int i, j, k, error;
+ int i, j, k;
char *xauthfile;
HWEventQueueType alwaysCheckForInput[2];