Ticket #11978: 0002-remove-left-over-include-from-8387.patch

File 0002-remove-left-over-include-from-8387.patch, 1.3 KB (added by Karl Egly, 6 years ago)
  • mythtv/external/libhdhomerun/hdhomerun_os_posix.h

    From 4f37f8a320b045dd5c7c9cc0b84fe51a256e1a32 Mon Sep 17 00:00:00 2001
    From: Karl Dietz <dekarl@mythtv.org>
    Date: Sun, 8 Dec 2013 09:41:00 +0100
    Subject: [PATCH 2/2] remove left over include from #8387
    
    This silences the sys/timeb.h deprecation warnings on FreeBSD.
    ---
     mythtv/external/libhdhomerun/hdhomerun_os_posix.h  |    1 -
     .../external/libhdhomerun/hdhomerun_os_windows.h   |    1 -
     2 files changed, 2 deletions(-)
    
    diff --git a/mythtv/external/libhdhomerun/hdhomerun_os_posix.h b/mythtv/external/libhdhomerun/hdhomerun_os_posix.h
    index 3551694..7f5a392 100644
    a b  
    4242#include <sys/types.h>
    4343#include <sys/socket.h>
    4444#include <sys/time.h>
    45 #include <sys/timeb.h>
    4645#include <sys/wait.h>
    4746#include <netinet/in.h>
    4847#include <arpa/inet.h>
  • mythtv/external/libhdhomerun/hdhomerun_os_windows.h

    diff --git a/mythtv/external/libhdhomerun/hdhomerun_os_windows.h b/mythtv/external/libhdhomerun/hdhomerun_os_windows.h
    index 7daf32c..dcccd26 100644
    a b  
    4949#include <signal.h>
    5050#include <time.h>
    5151#include <sys/types.h>
    52 #include <sys/timeb.h>
    5352
    5453#if defined(DLL_IMPORT)
    5554#define LIBTYPE __declspec( dllimport )