Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/pax pax: need <strings.h> for ffs()



details:   https://anonhg.NetBSD.org/src/rev/9e382608dc97
branches:  trunk
changeset: 378113:9e382608dc97
user:      lukem <lukem%NetBSD.org@localhost>
date:      Thu Jul 20 20:09:49 2023 +0000

description:
pax: need <strings.h> for ffs()

Fixes warning as host tool on NetBSD 9.99

diffstat:

 bin/pax/options.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r e3c4f8cc8808 -r 9e382608dc97 bin/pax/options.c
--- a/bin/pax/options.c Thu Jul 20 20:00:34 2023 +0000
+++ b/bin/pax/options.c Thu Jul 20 20:09:49 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: options.c,v 1.119 2020/04/03 16:13:32 joerg Exp $      */
+/*     $NetBSD: options.c,v 1.120 2023/07/20 20:09:49 lukem Exp $      */
 
 /*-
  * Copyright (c) 1992 Keith Muller.
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)options.c  8.2 (Berkeley) 4/18/94";
 #else
-__RCSID("$NetBSD: options.c,v 1.119 2020/04/03 16:13:32 joerg Exp $");
+__RCSID("$NetBSD: options.c,v 1.120 2023/07/20 20:09:49 lukem Exp $");
 #endif
 #endif /* not lint */
 
@@ -61,6 +61,7 @@ static char sccsid[] = "@(#)options.c 8.
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <strings.h>
 #include <unistd.h>
 #include <inttypes.h>
 #include <paths.h>



Home | Main Index | Thread Index | Old Index