added -std=gnu99 -DMISSING_UINT128
open and close seem to work