iAnnoy_Leot found this. I had to change it. It is HOST_NAME_MAX. - geomyidae - A small C-based gopherd. Err bitreich.org 70 hgit clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ URL:git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ bitreich.org 70 1Log /scm/geomyidae/log.gph bitreich.org 70 1Files /scm/geomyidae/files.gph bitreich.org 70 1Refs /scm/geomyidae/refs.gph bitreich.org 70 1Tags /scm/geomyidae/tag bitreich.org 70 1README /scm/geomyidae/file/README.gph bitreich.org 70 1LICENSE /scm/geomyidae/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 37d8397b8e850f2ba35ae8d4a109360da294732f /scm/geomyidae/commit/37d8397b8e850f2ba35ae8d4a109360da294732f.gph bitreich.org 70 1parent 904c8907275f13139e91bf1c3179f745d69f7fac /scm/geomyidae/commit/904c8907275f13139e91bf1c3179f745d69f7fac.gph bitreich.org 70 hAuthor: Christoph Lohmann <20h@r-36.net> URL:mailto:20h@r-36.net bitreich.org 70 iDate: Mon, 12 Nov 2018 22:42:00 +0100 Err bitreich.org 70 i Err bitreich.org 70 iAnnoy_Leot found this. I had to change it. It is HOST_NAME_MAX. Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M main.c | 2 +- Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 1 insertion(+), 1 deletion(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/main.c b/main.c /scm/geomyidae/file/main.c.gph bitreich.org 70 i@@ -480,7 +480,7 @@ main(int argc, char *argv[]) Err bitreich.org 70 i usage(); Err bitreich.org 70 i Err bitreich.org 70 i if (ohost == NULL) { Err bitreich.org 70 i- /* Do not use MAX_NAME_HOST, it is not defined on NetBSD. */ Err bitreich.org 70 i+ /* Do not use HOST_NAME_MAX, it is not defined on NetBSD. */ Err bitreich.org 70 i ohost = xcalloc(1, 256+1); Err bitreich.org 70 i if (gethostname(ohost, 256) < 0) { Err bitreich.org 70 i perror("gethostname"); Err bitreich.org 70 .