diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-07-10 18:53:05 -0700 |
---|---|---|
committer | Alan Coopersmith <alanc@alf.(none)> | 2006-07-10 18:53:05 -0700 |
commit | 78c12368fa1c1985f41ce856ff453a967429870a (patch) | |
tree | 38298e25dc20abb5130f864b301313e0ebccd46a /src | |
parent | c0dfac86e75ea63ae0c25c070bc661b6f41d35eb (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
Diffstat (limited to 'src')
-rw-r--r-- | src/mga_dacG.c | 2 | ||||
-rw-r--r-- | src/mga_driver.c | 2 |
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. */ |