summaryrefslogtreecommitdiff
path: root/rtemstoolkit/elftoolchain
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-10-18 19:19:08 +1100
committerChris Johns <chrisj@rtems.org>2015-10-19 09:06:49 +1100
commit0382b6863be01ad365d7ae272b61cfef4870f631 (patch)
treee015eda07f1f15bf1223461aa6c9ac85d482392f /rtemstoolkit/elftoolchain
parent2f11c3631d3bcaf5447019bb4784c231f079285b (diff)
Fix Windows build issues.
Fix biulding the mmap Windows code. Fix installing the files for Windows.
Diffstat (limited to 'rtemstoolkit/elftoolchain')
-rw-r--r--rtemstoolkit/elftoolchain/libelf/mmap_win32.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/rtemstoolkit/elftoolchain/libelf/mmap_win32.c b/rtemstoolkit/elftoolchain/libelf/mmap_win32.c
index 689fe87..ba91cba 100644
--- a/rtemstoolkit/elftoolchain/libelf/mmap_win32.c
+++ b/rtemstoolkit/elftoolchain/libelf/mmap_win32.c
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2011 Chris Johns <chrisj@rtems.org>
+ * Copyright (c) 2011, 2015 Chris Johns <chrisj@rtems.org>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -39,6 +39,7 @@
#include <errno.h>
#include <stdint.h>
+#include <io.h>
#include <windows.h>
/*