Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: syntax_error on June 18, 2018, 03:28:28 PM

Title: Having an issue with alsa.tcz
Post by: syntax_error on June 18, 2018, 03:28:28 PM
Hi,

I am using the alsa libs in a program and have been getting compilation issues with global.h.  There is an include file <time.h> which includes a struct timespec.  Global.h includes time.h and then redefines the struct timespec if you are using glibc which I am.  Is this a problem with my compiler, or is there a bug in global.h?  I just defined _POSIX_C_SOURCE to 0 to have it skip this redefinition, but will this affect my pthreads?  Thanks...