summaryrefslogtreecommitdiffstats
path: root/openaes/src
diff options
context:
space:
mode:
Diffstat (limited to 'openaes/src')
-rw-r--r--openaes/src/ftime.h2
-rw-r--r--openaes/src/oaes_lib.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/openaes/src/ftime.h b/openaes/src/ftime.h
index 963d7c176..80fbab769 100644
--- a/openaes/src/ftime.h
+++ b/openaes/src/ftime.h
@@ -33,3 +33,5 @@ struct timeb {
short timezone;
short dstflag;
};
+
+int ftime(struct timeb* tb);
diff --git a/openaes/src/oaes_lib.c b/openaes/src/oaes_lib.c
index 6e20b478f..0cc03946e 100644
--- a/openaes/src/oaes_lib.c
+++ b/openaes/src/oaes_lib.c
@@ -37,6 +37,7 @@ static const char _NR[] = {
#include "ftime.h"
#include <malloc.h>
#include <string.h>
+#include <unistd.h>
#ifdef WIN32
#include <process.h>