* [Qemu-trivial] [PATCH] pseries: Remove unneeded include statement (fixes MinGW builds)
@ 2012-12-20 6:49 Stefan Weil
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Weil @ 2012-12-20 6:49 UTC (permalink / raw)
To: qemu-trivial
Cc: Alexander Graf, Stefan Weil, qemu-ppc, qemu-devel, David Gibson
sys/mman.h is not needed (tested on Linux) and unavailable for MinGW,
so remove it.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
hw/spapr_nvram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/spapr_nvram.c b/hw/spapr_nvram.c
index f20f6b4..680cdba 100644
--- a/hw/spapr_nvram.c
+++ b/hw/spapr_nvram.c
@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
-#include <sys/mman.h>
+
#include <libfdt.h>
#include "sysemu/device_tree.h"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Qemu-trivial] [PATCH] pseries: Remove unneeded include statement (fixes MinGW builds)
@ 2012-12-20 6:50 Stefan Weil
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Weil @ 2012-12-20 6:50 UTC (permalink / raw)
To: qemu-trivial
Cc: Alexander Graf, Stefan Weil, qemu-ppc, qemu-devel, David Gibson
sys/mman.h is not needed (tested on Linux) and unavailable for MinGW,
so remove it.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
hw/spapr_nvram.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/spapr_nvram.c b/hw/spapr_nvram.c
index f20f6b4..680cdba 100644
--- a/hw/spapr_nvram.c
+++ b/hw/spapr_nvram.c
@@ -21,7 +21,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
-#include <sys/mman.h>
+
#include <libfdt.h>
#include "sysemu/device_tree.h"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-20 6:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-20 6:49 [Qemu-trivial] [PATCH] pseries: Remove unneeded include statement (fixes MinGW builds) Stefan Weil
-- strict thread matches above, loose matches on Subject: below --
2012-12-20 6:50 Stefan Weil
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).