diff mbox

[02/14] ui/cocoa.m: Include qemu/osdep.h

Message ID 1455031511-23684-3-git-send-email-peter.maydell@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Peter Maydell Feb. 9, 2016, 3:24 p.m. UTC
Include "qemu/osdep.h". (This is a manual commit equivalent
to what the clean-includes script would do, because that
script can't handle ObjectiveC source files.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
---
 ui/cocoa.m | 2 ++
 1 file changed, 2 insertions(+)

Comments

Eric Blake Feb. 9, 2016, 4:07 p.m. UTC | #1
On 02/09/2016 08:24 AM, Peter Maydell wrote:
> Include "qemu/osdep.h". (This is a manual commit equivalent
> to what the clean-includes script would do, because that
> script can't handle ObjectiveC source files.)
> 
> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
> ---
>  ui/cocoa.m | 2 ++
>  1 file changed, 2 insertions(+)

This one already landed as e4a096b.

> 
> diff --git a/ui/cocoa.m b/ui/cocoa.m
> index d866f23..3ee5549 100644
> --- a/ui/cocoa.m
> +++ b/ui/cocoa.m
> @@ -22,6 +22,8 @@
>   * THE SOFTWARE.
>   */
>  
> +#include "qemu/osdep.h"
> +
>  #import <Cocoa/Cocoa.h>
>  #include <crt_externs.h>
>  
>
Peter Maydell Feb. 9, 2016, 4:08 p.m. UTC | #2
On 9 February 2016 at 16:07, Eric Blake <eblake@redhat.com> wrote:
> On 02/09/2016 08:24 AM, Peter Maydell wrote:
>> Include "qemu/osdep.h". (This is a manual commit equivalent
>> to what the clean-includes script would do, because that
>> script can't handle ObjectiveC source files.)
>>
>> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
>> ---
>>  ui/cocoa.m | 2 ++
>>  1 file changed, 2 insertions(+)
>
> This one already landed as e4a096b.

Heh, so it did, forgot to rebase. No harm done...

-- PMM
diff mbox

Patch

diff --git a/ui/cocoa.m b/ui/cocoa.m
index d866f23..3ee5549 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -22,6 +22,8 @@ 
  * THE SOFTWARE.
  */
 
+#include "qemu/osdep.h"
+
 #import <Cocoa/Cocoa.h>
 #include <crt_externs.h>