summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/content_store
diff options
context:
space:
mode:
authorAngelo Mantellini <manangel@cisco.com>2019-01-31 18:20:48 +0100
committerAngelo Mantellini <manangel@cisco.com>2019-02-01 15:23:03 +0100
commitf5a0b8a5e24cede05e15ab696f0e15257a503525 (patch)
tree8cab87196baf7ea5468cebc4002da45175d91ae8 /hicn-light/src/content_store
parentbf29f9a52ffa3a1f32f700e4fd36ea53885d83aa (diff)
[HICN24] Windows compatibility for hicn-light
Change-Id: I8e19e52c9b4ec0fcbd7344c28765f5da1937569c Signed-off-by: Angelo Mantellini <manangel@cisco.com>
Diffstat (limited to 'hicn-light/src/content_store')
-rw-r--r--hicn-light/src/content_store/contentStoreLRU.c4
-rw-r--r--hicn-light/src/content_store/listLRU.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/hicn-light/src/content_store/contentStoreLRU.c b/hicn-light/src/content_store/contentStoreLRU.c
index 9b69d51c0..2eb043d8e 100644
--- a/hicn-light/src/content_store/contentStoreLRU.c
+++ b/hicn-light/src/content_store/contentStoreLRU.c
@@ -13,9 +13,11 @@
* limitations under the License.
*/
+#ifndef _WIN32
+#include <sys/queue.h>
+#endif
#include <src/config.h>
#include <stdio.h>
-#include <sys/queue.h>
#include <parc/algol/parc_DisplayIndented.h>
#include <parc/algol/parc_HashCodeTable.h>
diff --git a/hicn-light/src/content_store/listLRU.c b/hicn-light/src/content_store/listLRU.c
index 42b491d7c..0a1631bab 100644
--- a/hicn-light/src/content_store/listLRU.c
+++ b/hicn-light/src/content_store/listLRU.c
@@ -13,10 +13,12 @@
* limitations under the License.
*/
+#ifndef _WIN32
+#include <sys/queue.h>
+#endif
#include <src/config.h>
#include <stdbool.h>
#include <stdio.h>
-#include <sys/queue.h>
#include <parc/algol/parc_Memory.h>
#include <parc/assert/parc_Assert.h>