From: Felix Paul Kühne Date: Mon, 7 Apr 2008 13:34:55 +0000 (+0200) Subject: Compilation fixes X-Git-Tag: 0.9.0-test0~1531 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=a7f674b8d2d0fb9378ed6aab1257f49b8447f1f2;p=vlc Compilation fixes --- diff --git a/modules/access/screen/mac.c b/modules/access/screen/mac.c index 532f76ed4d..c8f69569f3 100644 --- a/modules/access/screen/mac.c +++ b/modules/access/screen/mac.c @@ -1,10 +1,11 @@ /***************************************************************************** * mac.c: Screen capture module for the Mac. ***************************************************************************** - * Copyright (C) 2004 the VideoLAN team + * Copyright (C) 2004, 2008 the VideoLAN team * $Id$ * * Authors: Derk-Jan Hartman + * arai * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,14 +25,16 @@ /***************************************************************************** * Preamble *****************************************************************************/ -#include +#import -#include -#include +#ifdef HAVE_CONFIG_H +# import "config.h" +#endif +#import + +#import #import -#include -#include typedef int CGSConnectionRef; extern CGError CGSNewConnection( void *, CGSConnectionRef * ); @@ -42,7 +45,7 @@ extern CGError CGSGetGlobalCursorData( CGSConnectionRef, unsigned char *, int *, int *, int * ); extern CGError CGSGetCurrentCursorLocation( CGSConnectionRef, CGPoint * ); -#include "screen.h" +#import "screen.h" struct screen_data_t {