If to define _STRUCT_TIMESPEC, then compilation is successfully.
% make test perl t/harness --gc-debug --running-make-test -b t/op/*.t t/pmc/*.t t/native_pbc/*.t imcc/t/*/*.t t/src/*.t t/op/00ff-dos...........ok t/op/00ff-unix..........ok t/op/arithmetics........ok t/op/basic..............ok t/op/bitwise............ok t/op/calling............ok t/op/comp...............ok t/op/conv...............ok t/op/debuginfo..........ok 3/3 skipped: getline/setline changes not finished t/op/gc.................ok t/op/globals............ok t/op/hacks..............ok 2/2 skipped: various reasons t/op/ifunless...........ok t/op/info...............ok t/op/integer............ok t/op/interp.............ok t/op/jit................ok t/op/jitn...............ok t/op/lexicals...........ok t/op/macro..............ok 1/16 skipped: various reasons t/op/number.............ok t/op/rx.................ok 1/23 skipped: various reasons t/op/stacks.............ok t/op/string.............ok t/op/time...............ok t/op/trans..............ok t/op/types..............ok t/pmc/array.............ok t/pmc/boolean...........ok t/pmc/coroutine.........ok t/pmc/delegate..........ok t/pmc/dumper............ok t/pmc/env...............ok t/pmc/eval..............ok t/pmc/exception.........ok t/pmc/float.............ok t/pmc/freeze............ok t/pmc/intlist...........ok t/pmc/io................ok 1/21 skipped: various reasons t/pmc/iter..............ok 1/9 skipped: various reasons t/pmc/key...............ok t/pmc/managedstruct.....ok t/pmc/mmd...............ok t/pmc/multiarray........ok t/pmc/nci...............i386 JIT CPU .so SO extension t/pmc/nci...............ok 29/29 skipped: various reasons t/pmc/object-meths......ok t/pmc/objects...........ok t/pmc/orderedhash.......ok t/pmc/perlarray.........ok t/pmc/perlhash..........ok t/pmc/perlint...........ok t/pmc/perlnum...........ok t/pmc/perlstring........ok t/pmc/pmc...............ok t/pmc/prop..............ok t/pmc/ref...............ok t/pmc/sarray............ok t/pmc/scratchpad........ok t/pmc/signal............skipped all skipped: No events yet t/pmc/sort..............ok t/pmc/sub...............ok t/pmc/threads...........skipped all skipped: No threading yet or test not enabled for 'netbsd' t/pmc/timer.............ok 5/7 skipped: various reasons t/pmc/tqueue............ok t/native_pbc/integer....ok t/native_pbc/number.....ok imcc/t/imcpasm/cfg......ok imcc/t/imcpasm/opt0.....ok imcc/t/imcpasm/opt1.....ok 1/49 skipped: various reasons imcc/t/imcpasm/opt2.....ok 5/5 skipped: various reasons imcc/t/imcpasm/optc.....ok 6/6 skipped: various reasons imcc/t/imcpasm/pcc......ok 10/10 skipped: various reasons imcc/t/imcpasm/sub......ok imcc/t/reg/spill........ok imcc/t/syn/bsr..........ok imcc/t/syn/clash........ok imcc/t/syn/const........ok imcc/t/syn/eval.........ok imcc/t/syn/file.........ok 1/12 skipped: various reasons imcc/t/syn/keyed........ok imcc/t/syn/labels.......ok imcc/t/syn/macro........ok imcc/t/syn/namespace....ok imcc/t/syn/pcc..........ok 2/31 skipped: various reasons imcc/t/syn/pod..........ok imcc/t/syn/scope........ok t/src/basic.............ok t/src/exit..............ok t/src/extend............ok t/src/hash..............ok t/src/intlist...........ok t/src/io................ok 1/20 skipped: various reasons t/src/list..............ok t/src/manifest..........ok t/src/sprintf...........ok All tests successful, 2 tests and 69 subtests skipped. Files=95, Tests=1370, 293 wallclock secs (30.29 cusr + 15.31 csys = 45.60 CPU) % make testexec echo 'print "Hello World\n"' > hello.pasm echo 'end' >> hello.pasm ./parrot -o hello.pbc hello.pasm ./parrot -o hello.o hello.pbc make EXEC=hello exec /house/kostirya/parrot/src/exec_start.c cc -o hello -Wl,-R/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -Wl,-rpath,/usr/local/lib -L/usr/pkg/lib -g hello.o src/exec_start.o blib/lib/libparrot.a -lm -lcrypt ./hello Hello World %