diff options
author | Angelo Mantellini <manangel@cisco.com> | 2019-01-31 18:20:48 +0100 |
---|---|---|
committer | Angelo Mantellini <manangel@cisco.com> | 2019-02-01 15:23:03 +0100 |
commit | f5a0b8a5e24cede05e15ab696f0e15257a503525 (patch) | |
tree | 8cab87196baf7ea5468cebc4002da45175d91ae8 /hicn-light/src/core/forwarder.h | |
parent | bf29f9a52ffa3a1f32f700e4fd36ea53885d83aa (diff) |
[HICN24] Windows compatibility for hicn-light
Change-Id: I8e19e52c9b4ec0fcbd7344c28765f5da1937569c
Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'hicn-light/src/core/forwarder.h')
-rw-r--r-- | hicn-light/src/core/forwarder.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hicn-light/src/core/forwarder.h b/hicn-light/src/core/forwarder.h index e044add3b..6bc823294 100644 --- a/hicn-light/src/core/forwarder.h +++ b/hicn-light/src/core/forwarder.h @@ -21,8 +21,10 @@ #ifndef forwarder_h #define forwarder_h -#include <stdlib.h> +#ifndef _WIN32 #include <sys/time.h> +#endif +#include <stdlib.h> #include <src/core/connectionTable.h> #include <src/core/dispatcher.h> @@ -56,7 +58,6 @@ struct forwarder; typedef struct forwarder Forwarder; - /** * @function forwarder_Create * @abstract Create the forwarder and use the provided logger for diagnostic |