qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] pseries: Remove unneeded include statement (fixes MinGW builds)
@ 2012-12-20  6:50 Stefan Weil
  2013-01-03  8:59 ` Stefan Hajnoczi
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread
* [Qemu-devel] [PATCH] pseries: Remove unneeded include statement (fixes MinGW builds)
@ 2012-12-20  6:49 Stefan Weil
  0 siblings, 0 replies; 4+ 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] 4+ messages in thread

end of thread, other threads:[~2013-01-03 10:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-20  6:50 [Qemu-devel] [PATCH] pseries: Remove unneeded include statement (fixes MinGW builds) Stefan Weil
2013-01-03  8:59 ` Stefan Hajnoczi
2013-01-03  9:58   ` David Gibson
  -- strict thread matches above, loose matches on Subject: below --
2012-12-20  6:49 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).