It works great. Thanks, James
On Sep 23, 2013, at 2:36 PM, Christian Grothoff <[email protected]> wrote: > Thanks for reporting, should be fixed in SVN 29506. Please let me know > if not... -Christian > > On 09/23/2013 08:18 PM, James Aspinwall wrote: >> >> I am having problems compiling in OSX because CLOCK_MONOTONIC is missing. I >> get the following error: >> >> >> gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/plibc -I../.. >> -I../../src/include -I../../src/applicationlayer >> -DDATA_DIR=\"../../src/datadir/\" -no-cpp-precomp -fno-common >> -fno-strict-aliasing -g -O2 -MT proxy.o -MD -MP -MF .deps/proxy.Tpo -c -o >> proxy.o proxy.c >> proxy.c: In function ‘parse_uri’: >> proxy.c:247: warning: field precision should have type ‘int’, but argument 3 >> has type ‘regoff_t’ >> proxy.c:248: warning: field precision should have type ‘int’, but argument 3 >> has type ‘regoff_t’ >> proxy.c:249: warning: field precision should have type ‘int’, but argument 3 >> has type ‘regoff_t’ >> proxy.c:250: warning: field precision should have type ‘int’, but argument 3 >> has type ‘regoff_t’ >> proxy.c:251: warning: field precision should have type ‘int’, but argument 3 >> has type ‘regoff_t’ >> proxy.c:252: warning: field precision should have type ‘int’, but argument 3 >> has type ‘regoff_t’ >> proxy.c: In function ‘run’: >> proxy.c:1165: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this >> function) >> proxy.c:1165: error: (Each undeclared identifier is reported only once >> proxy.c:1165: error: for each function it appears in.) >> make[4]: *** [proxy.o] Error 1 >> make[3]: *** [all-recursive] Error 1 >> make[2]: *** [all-recursive] Error 1 >> make[1]: *** [all-recursive] Error 1 >> make: *** [all] Error 2 >
