diff options
author | Cyril Brulebois <kibi@debian.org> | 2011-05-25 12:44:54 +0200 |
---|---|---|
committer | Cyril Brulebois <kibi@debian.org> | 2011-05-25 12:44:54 +0200 |
commit | 7cf6b2fa0f972d797378d81b64a43adf0be8be9f (patch) | |
tree | 6edd21439796be25941245bb196f1cefbe150a3e | |
parent | 3041c00bd0a3d53a3e3a6550a5e826d258654451 (diff) |
xts5: Fix missing unistd.h include.warnings-1
It is needed for unlink():
| CC verimage.lo
| verimage.c:307:3: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
| unlink(errfile);
| ^
Signed-off-by: Cyril Brulebois <kibi@debian.org>
-rw-r--r-- | xts5/src/lib/verimage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xts5/src/lib/verimage.c b/xts5/src/lib/verimage.c index 0db947e4..037ead37 100644 --- a/xts5/src/lib/verimage.c +++ b/xts5/src/lib/verimage.c @@ -117,6 +117,7 @@ purpose. It is provided "as is" without express or implied warranty. #include "stdio.h" #include "string.h" +#include "unistd.h" #include "xtest.h" #include "X11/Xlib.h" |