fix for "variable length array folded to constant array as an extension"...

make fails with latest Mac OS X

testapp.c:1788:13: error: variable length array folded to constant array as an extension [-Werror,-Wpedantic]
    int fds[max];
            ^~~
1 error generated.