I have a Raspberry Pi with an up to date Raspbian installation and I am using code blocks tools to compile an example program from PIGPIO. The compile fails with an:
undefined reference to 'clock_nanosleep'
From what I have been able to learn from google searches it seems that
clock_nanosleep is a function that requires
time.h to be included.
What library or code is missing that contains
clock_nanosleep and how do I go about explaining to Code::Blocks where to find it?