Patchwork [2/6] pseries: Remove unneeded include statement (fixes MinGW builds)

login
register
mail settings
Submitter Stefan Hajnoczi
Date Jan. 4, 2013, 1:55 p.m.
Message ID <1357307750-1966-3-git-send-email-stefanha@redhat.com>
Download mbox | patch
Permalink /patch/209458/
State New
Headers show

Comments

Stefan Hajnoczi - Jan. 4, 2013, 1:55 p.m.
From: Stefan Weil <sw@weilnetz.de>

sys/mman.h is not needed (tested on Linux) and unavailable for MinGW,
so remove it.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 hw/spapr_nvram.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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"