[vlc-devel] commit: Useless #includes ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Aug 16 20:42:40 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 16 21:25:37 2009 +0300| [18386db251cea8c92ea9d0faf5a3c6865d49b2d5] | committer: Rémi Denis-Courmont 

Useless #includes

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=18386db251cea8c92ea9d0faf5a3c6865d49b2d5
---

 modules/video_output/x11/xcommon.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/modules/video_output/x11/xcommon.c b/modules/video_output/x11/xcommon.c
index 1038ebe..582ca85 100644
--- a/modules/video_output/x11/xcommon.c
+++ b/modules/video_output/x11/xcommon.c
@@ -38,8 +38,6 @@
 #include <vlc_vout_window.h>
 #include <vlc_keys.h>
 
-#include <errno.h>                                                 /* ENOMEM */
-
 #ifdef HAVE_MACHINE_PARAM_H
     /* BSD */
 #   include <machine/param.h>
@@ -47,10 +45,6 @@
 #   include <sys/ipc.h>
 #endif
 
-#ifndef WIN32
-#   include <netinet/in.h>                            /* BSD: struct in_addr */
-#endif
-
 #ifdef HAVE_XSP
 #include <X11/extensions/Xsp.h>
 #endif




More information about the vlc-devel mailing list