Ticket #249: 0001-Fix-compilation.patch

File 0001-Fix-compilation.patch, 740 bytes (added by KO Myung-Hun, 3 days ago)

Fix compilation due to missing 'struct timespec'

  • include/unidef.h

    From 54a3b8071f73a66edb24003c3111c66fc173b4e6 Mon Sep 17 00:00:00 2001
    From: KO Myung-Hun <komh78@gmail.com>
    Date: Thu, 23 Jan 2025 12:59:37 +0900
    Subject: [PATCH] Fix compilation
    
    ---
     include/unidef.h | 2 --
     1 file changed, 2 deletions(-)
    
    diff --git a/include/unidef.h b/include/unidef.h
    index 472ae66..0e696f1 100644
    a b struct sndrv_aes_iec958 {  
    145145        unsigned char dig_subframe[4];  /* AES/IEC958 subframe bits */
    146146};
    147147
    148 #if 0
    149148struct timespec {
    150149        long    tv_sec;         /* seconds */
    151150        long    tv_usec;        /* and microseconds */
    152151};
    153 #endif
    154152
    155153typedef struct sndrv_ctl_elem_value {
    156154        UniaudControl id;       /* W: element ID */