Commit a7f674b8 authored by Felix Paul Kühne's avatar Felix Paul Kühne

Compilation fixes

parent 7860203e
/***************************************************************************** /*****************************************************************************
* mac.c: Screen capture module for the Mac. * mac.c: Screen capture module for the Mac.
***************************************************************************** *****************************************************************************
* Copyright (C) 2004 the VideoLAN team * Copyright (C) 2004, 2008 the VideoLAN team
* $Id$ * $Id$
* *
* Authors: Derk-Jan Hartman <hartman at videolan dot org> * Authors: Derk-Jan Hartman <hartman at videolan dot org>
* arai <arai_a@mac.com>
* *
* This program is free software; you can redistribute it and/or modify * 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 * it under the terms of the GNU General Public License as published by
...@@ -24,14 +25,16 @@ ...@@ -24,14 +25,16 @@
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
*****************************************************************************/ *****************************************************************************/
#include <stdlib.h> #import <stdlib.h>
#include <vlc/vlc.h> #ifdef HAVE_CONFIG_H
#include <vlc/input.h> # import "config.h"
#endif
#import <vlc/vlc.h>
#import <ApplicationServices/ApplicationServices.h>
#import <OpenGL/OpenGL.h> #import <OpenGL/OpenGL.h>
#include <GL/gl.h>
#include <ApplicationServices/ApplicationServices.h>
typedef int CGSConnectionRef; typedef int CGSConnectionRef;
extern CGError CGSNewConnection( void *, CGSConnectionRef * ); extern CGError CGSNewConnection( void *, CGSConnectionRef * );
...@@ -42,7 +45,7 @@ extern CGError CGSGetGlobalCursorData( CGSConnectionRef, unsigned char *, ...@@ -42,7 +45,7 @@ extern CGError CGSGetGlobalCursorData( CGSConnectionRef, unsigned char *,
int *, int *, int * ); int *, int *, int * );
extern CGError CGSGetCurrentCursorLocation( CGSConnectionRef, CGPoint * ); extern CGError CGSGetCurrentCursorLocation( CGSConnectionRef, CGPoint * );
#include "screen.h" #import "screen.h"
struct screen_data_t struct screen_data_t
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment