summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-07-10 18:53:05 -0700
committerAlan Coopersmith <alanc@alf.(none)>2006-07-10 18:53:05 -0700
commit78c12368fa1c1985f41ce856ff453a967429870a (patch)
tree38298e25dc20abb5130f864b301313e0ebccd46a
parentc0dfac86e75ea63ae0c25c070bc661b6f41d35eb (diff)
Add includes of <unistd.h> & <stdlib.h> to replace previously xf86wrapped prototypes
Fixes these warnings: make.out:"mga_dacG.c", line 195: warning: implicit function declaration: abs make.out:"mga_dacG.c", line 1117: warning: implicit function declaration: usleepmake.out:"mga_driver.c", line 692: warning: implicit function declaration: usleep
-rw-r--r--src/mga_dacG.c2
-rw-r--r--src/mga_driver.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mga_dacG.c b/src/mga_dacG.c
index 6d7eac2..5f628f0 100644
--- a/src/mga_dacG.c
+++ b/src/mga_dacG.c
@@ -32,6 +32,8 @@
#include "xf86DDC.h"
+#include <stdlib.h>
+#include <unistd.h>
/*
* implementation
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 88e6af5..6f4909a 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -97,6 +97,8 @@
#include "dri.h"
#endif
+#include <unistd.h>
+
/*
* Forward definitions for the functions that make up the driver.
*/