daemon.c fails to build on Darwin
From: Randal L. Schwartz <hidden>
Date: 2016-06-15 22:42:42
If this is obvious, can someone fix it? If not, I'll try to sort it out later
tonight.
gcc -o daemon.o -c -g -O2 -Wall -I/sw/include -I/opt/local/include -DSHA1_HEADER='<openssl/sha.h>' -DNO_STRLCPY daemon.c
daemon.c: In function 'fill_in_extra_table_entries':
daemon.c:460: error: 'HOST_NAME_MAX' undeclared (first use in this function)
daemon.c:460: error: (Each undeclared identifier is reported only once
daemon.c:460: error: for each function it appears in.)
daemon.c:460: warning: unused variable 'addrbuf'
make: *** [daemon.o] Error 1
This is with 2d5b459107cf07bbb307cfb196c2007c497a6dd2.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[off-list ref] <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!