diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-01-16 00:27:01 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-01-16 00:27:01 +0000 |
commit | 5dd1cff54dd96b0d98fe167f04c4973242168549 (patch) | |
tree | 5eb408cfbb8107924daec90ec9f636573d07de8a /include/protocols | |
parent | 804243397bf9f3623e5d8f1a9c0e7a8b61a5b00e (diff) |
Since <netdb.h> soon won't include <sys/param.h>, MAXHOSTNAMELEN may
not be in scope, so hardcode as 256. Other options have more downside.
Diffstat (limited to 'include/protocols')
-rw-r--r-- | include/protocols/timed.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/protocols/timed.h b/include/protocols/timed.h index 0a3ecdb2d42..12531d17589 100644 --- a/include/protocols/timed.h +++ b/include/protocols/timed.h @@ -1,4 +1,4 @@ -/* $OpenBSD: timed.h,v 1.3 2003/06/02 19:34:12 millert Exp $ */ +/* $OpenBSD: timed.h,v 1.4 2015/01/16 00:27:00 deraadt Exp $ */ /* $NetBSD: timed.h,v 1.5 1996/04/09 20:40:32 cgd Exp $ */ /* @@ -53,7 +53,7 @@ struct tsp { } tspu_time; char tspu_hopcnt; } tsp_u; - char tsp_name[MAXHOSTNAMELEN]; + char tsp_name[256]; }; #define tsp_time tsp_u.tspu_time |