Examples/*coder.c: add missing include of unistd.h

Fix warning: implicit declaration of function 'getcwd' is invalid in
C99 [-Wimplicit-function-declaration]

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
master
Danny Al-Gaaf 2014-03-22 23:46:51 +01:00
parent bd6cddba8b
commit 4b6c76c659
2 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,7 @@ same arguments, and encoder.c does error check.
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <signal.h>

View File

@ -59,6 +59,7 @@ is the file name with "_k#" or "_m#" and then the extension.
#include <time.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>