Ticket #10163: 0001-Fix-Mingw32-compilation-of-mythtuistattracker.cpp.patch

File 0001-Fix-Mingw32-compilation-of-mythtuistattracker.cpp.patch, 813 bytes (added by Lawrence Rust <lvr@…>, 9 years ago)
  • mythtv/libs/libmythui/mythuistatetracker.cpp

    From 7c2015fe83b25e6e3978e9ad8d8e0ed5742fede1 Mon Sep 17 00:00:00 2001
    From: Lawrence Rust <lvr@softsystem.co.uk>
    Date: Sun, 13 Nov 2011 12:27:13 +0100
    Subject: [PATCH] Fix Mingw32 compilation of mythtuistattracker.cpp
    
    Add missing definition of usleep from unistd.h
    
    Signed-off-by: Lawrence Rust <lvr@softsystem.co.uk>
    ---
     mythtv/libs/libmythui/mythuistatetracker.cpp |    1 +
     1 files changed, 1 insertions(+), 0 deletions(-)
    
    diff --git a/mythtv/libs/libmythui/mythuistatetracker.cpp b/mythtv/libs/libmythui/mythuistatetracker.cpp
    index 2f8460a..ad49f51 100644
    a b  
     1#include <unistd.h> // For usleep
    12#include <QCoreApplication>
    23#include "mythmainwindow.h"
    34#include "mythevent.h"