Module Name: src
Committed By: lukem
Date: Thu Jul 20 20:09:49 UTC 2023
Modified Files:
src/bin/pax: options.c
Log Message:
pax: need <strings.h> for ffs()
Fixes warning as host tool on NetBSD 9.99
To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/bin/pax/options.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/bin/pax/options.c
diff -u src/bin/pax/options.c:1.119 src/bin/pax/options.c:1.120
--- src/bin/pax/options.c:1.119 Fri Apr 3 16:13:32 2020
+++ src/bin/pax/options.c Thu Jul 20 20:09:49 2023
@@ -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 @@ __RCSID("$NetBSD: options.c,v 1.119 2020
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
#include <unistd.h>
#include <inttypes.h>
#include <paths.h>