Steve wrote: > I had tried putting #define __USE_GNU in the code but that didn't make any > difference. You need to #define _GNU_SOURCE, not __USE_GNU. glibc #undefs all the __USE_* macros, then #defines them based on the _*_SOURCE macros you used. Kevin Kofler