missing include for ntohl()
Andrew Cagney <[email protected]> Wed, 9 Oct 2024 09:17:59 -0400
| Newsgroups | gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <CAJeAr6tZ2XXPs44xeXCkZKb209rTJ6DMZgqm2ekNbD_S0AUGjA@mail.gmail.com> |
Index: usr.bin/mkubootimage/mkubootimage.c
===================================================================
RCS file: /cvsroot/src/usr.bin/mkubootimage/mkubootimage.c,v
retrieving revision 1.33
diff -u -p -r1.33 mkubootimage.c
--- usr.bin/mkubootimage/mkubootimage.c 21 May 2024 04:01:26 -0000 1.33
+++ usr.bin/mkubootimage/mkubootimage.c 9 Oct 2024 13:09:14 -0000
@@ -37,6 +37,7 @@ __RCSID("$NetBSD: mkubootimage.c,v 1.33
#include <sys/endian.h>
#include <sys/param.h>
#include <sys/uio.h>
+#include <arpa/inet.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>