diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2020-10-21 06:52:46 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2020-10-21 06:52:46 +0000 |
commit | f011e15df495a55eaebd7eafb4efb2126b90915a (patch) | |
tree | cf46ac0ccff39c63ef4cb885bb8d92ec92716e1c | |
parent | 30001e728bf1560cc77d9da5083b0d9fbdd97bdf (diff) |
Include endian.h for htobe64().
-rw-r--r-- | usr.sbin/bgpctl/output.c | 3 | ||||
-rw-r--r-- | usr.sbin/bgpctl/output_json.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/output.c b/usr.sbin/bgpctl/output.c index ead6d9f068a..d7c23e9f08d 100644 --- a/usr.sbin/bgpctl/output.c +++ b/usr.sbin/bgpctl/output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: output.c,v 1.9 2020/05/10 13:38:46 deraadt Exp $ */ +/* $OpenBSD: output.c,v 1.10 2020/10/21 06:52:45 claudio Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -19,6 +19,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <endian.h> #include <err.h> #include <math.h> #include <stdio.h> diff --git a/usr.sbin/bgpctl/output_json.c b/usr.sbin/bgpctl/output_json.c index 5c7f611f88a..5fb29dec723 100644 --- a/usr.sbin/bgpctl/output_json.c +++ b/usr.sbin/bgpctl/output_json.c @@ -1,4 +1,4 @@ -/* $OpenBSD: output_json.c,v 1.3 2020/05/10 13:38:46 deraadt Exp $ */ +/* $OpenBSD: output_json.c,v 1.4 2020/10/21 06:52:45 claudio Exp $ */ /* * Copyright (c) 2020 Claudio Jeker <claudio@openbsd.org> @@ -16,6 +16,7 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include <endian.h> #include <err.h> #include <math.h> #include <stdio.h> |