summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Examples/decoder.c1
-rw-r--r--Examples/encoder.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Examples/decoder.c b/Examples/decoder.c
index f00fce6..0f6e030 100644
--- a/Examples/decoder.c
+++ b/Examples/decoder.c
@@ -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>
diff --git a/Examples/encoder.c b/Examples/encoder.c
index 2c8cd67..8b9184f 100644
--- a/Examples/encoder.c
+++ b/Examples/encoder.c
@@ -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>