WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Having an issue with alsa.tcz  (Read 1208 times)

Offline syntax_error

  • Newbie
  • *
  • Posts: 12
Having an issue with alsa.tcz
« 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...