[vlc-commits] gui/minimal_macosx: Cleanup includes

Marvin Scholz git at videolan.org
Sun Nov 26 02:18:23 CET 2017


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Sun Nov 26 02:14:37 2017 +0100| [fa78fe1663ad50f7281055df6f008cd3f8ab8742] | committer: Marvin Scholz

gui/minimal_macosx: Cleanup includes

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

 modules/gui/minimal_macosx/VLCMinimalVoutWindow.h |  2 --
 modules/gui/minimal_macosx/intf.m                 | 14 +++++++-------
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/modules/gui/minimal_macosx/VLCMinimalVoutWindow.h b/modules/gui/minimal_macosx/VLCMinimalVoutWindow.h
index 6dd0c2e47e..85957fb3b9 100644
--- a/modules/gui/minimal_macosx/VLCMinimalVoutWindow.h
+++ b/modules/gui/minimal_macosx/VLCMinimalVoutWindow.h
@@ -24,8 +24,6 @@
 
 #import <Cocoa/Cocoa.h>
 
-#include <vlc_common.h>
-
 @interface VLCMinimalVoutWindow : NSWindow
 {
     NSRect initialFrame;
diff --git a/modules/gui/minimal_macosx/intf.m b/modules/gui/minimal_macosx/intf.m
index 98768a89a0..a778e3bc56 100644
--- a/modules/gui/minimal_macosx/intf.m
+++ b/modules/gui/minimal_macosx/intf.m
@@ -25,18 +25,18 @@
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
-#import <stdlib.h>                                      /* malloc(), free() */
-#import <sys/param.h>                                    /* for MAXPATHLEN */
+#import <stdlib.h>
 #import <string.h>
+#import <unistd.h>
+
 #ifdef HAVE_CONFIG_H
 # import "config.h"
 #endif
-#include <unistd.h>
 
-#include <vlc_common.h>
-#include <vlc_playlist.h>
-#include <vlc_interface.h>
-#include <vlc_vout_window.h>
+#import <vlc_common.h>
+#import <vlc_playlist.h>
+#import <vlc_interface.h>
+#import <vlc_vout_window.h>
 
 #import "VLCMinimalVoutWindow.h"
 



More information about the vlc-commits mailing list