blob: a080b3aef770f5b125c628203d65692d4bfe5e95 [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001From faec0206611f8ea4ca6f70987866077ac8c3c6c1 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 2 Sep 2022 21:24:27 -0700
4Subject: [PATCH] getopt: Include string.h for strcmp/stcncmp functions
5
6Upstream-Status: Pending
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9---
10 compat/getopt.c | 1 +
11 1 file changed, 1 insertion(+)
12
13diff --git a/compat/getopt.c b/compat/getopt.c
14index 752f28a..9b984b4 100644
15--- a/compat/getopt.c
16+++ b/compat/getopt.c
17@@ -43,6 +43,7 @@
18 #endif
19
20 #include <stdio.h>
21+#include <string.h> /* strcmp */
22
23 /* Comment out all this code if we are using the GNU C Library, and are not
24 actually compiling the library itself. This code is part of the GNU C
25--
262.37.3
27