--- netfwd.c.orig Tue Nov 20 17:34:16 2007 +++ netfwd.c Sun Jan 18 16:37:58 2015 @@ -27,6 +27,8 @@ #include #include #include +#include +#include #include #include #include @@ -167,7 +169,7 @@ struct net_fwd_addr { struct addrinfo *ai0; /* TCP/UDP */ char path[104]; /* unix sockaddr */ struct { - char path[MAXPATHLEN]; + char path[PATH_MAX]; struct tty_settings cfg; } tty; /* TTY address and settings */ } spec;