module Types = Posix_base.Generators.Types (struct
  module Types = Posix_unistd_constants.Def

  let c_headers =
    {|
#include <unistd.h>
#include <fcntl.h>

#ifndef HOST_NAME_MAX
#define HOST_NAME_MAX 256
#endif

#ifndef LOGIN_NAME_MAX
#define LOGIN_NAME_MAX 256
#endif

// FreeBSD does not have this one
#ifndef _PC_2_SYMLINKS
#define _PC_2_SYMLINKS 13
#endif
|}
end)

let () = Types.gen ()
