diff options
author | Cyril Brulebois <kibi@debian.org> | 2011-05-25 12:44:52 +0200 |
---|---|---|
committer | Cyril Brulebois <kibi@debian.org> | 2011-05-25 12:44:52 +0200 |
commit | be3d6b210119709f22d1b84a330a4f8753b11cd6 (patch) | |
tree | 0493edfde63d0d34015174c46fd6c882116f483a | |
parent | ccdd3eccaf8ab98aec473a3e8b8aa2dd765d12ef (diff) |
xts5: Fix missing unistd.h include for unlink.
This fixes an implicit declaration:
| CC checkarea.lo
| checkarea.c:296:2: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
| unlink(name);
| ^
Signed-off-by: Cyril Brulebois <kibi@debian.org>
-rw-r--r-- | xts5/src/lib/checkarea.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xts5/src/lib/checkarea.c b/xts5/src/lib/checkarea.c index 5b3041ae..88934bcd 100644 --- a/xts5/src/lib/checkarea.c +++ b/xts5/src/lib/checkarea.c @@ -114,6 +114,7 @@ purpose. It is provided "as is" without express or implied warranty. #include <stdlib.h> #include <stdio.h> +#include <unistd.h> #include "xtest.h" #include "X11/Xlib.h" #include "X11/Xutil.h" |