Patchwork [PULL,3/3] gtk: Remove unused include statements which are not portable

login
register
mail settings
Submitter Stefan Weil
Date Aug. 27, 2013, 12:38 p.m.
Message ID <1377607132-21336-4-git-send-email-sw@weilnetz.de>
Download mbox | patch
Permalink /patch/270103/
State Accepted
Headers show

Comments

Stefan Weil - Aug. 27, 2013, 12:38 p.m.
These include files don't exist for MinGW and are not needed for Linux
(and hopefully for other hosts as well), so remove them.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 ui/gtk.c |    4 ----
 1 file changed, 4 deletions(-)

Patch

diff --git a/ui/gtk.c b/ui/gtk.c
index c38146f..b5f4f0b 100644
--- a/ui/gtk.c
+++ b/ui/gtk.c
@@ -51,10 +51,6 @@ 
 #include <glib/gi18n.h>
 #include <locale.h>
 #include <vte/vte.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-#include <sys/un.h>
-#include <sys/wait.h>
 #include <math.h>
 
 #include "ui/console.h"