scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 17189bc8295651f0959354596c39551994061a37
parent 6903173cd0f863498a40f0e595ce83b881d71edb
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 17 Sep 2021 06:37:32 +0200

libmach: Add missed string.h

Strcmp() was used in findsec() but string.h was not included
generating a function call without prototype.

Diffstat:
Msrc/libmach/findsec.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/libmach/findsec.c b/src/libmach/findsec.c @@ -1,4 +1,5 @@ #include <stdio.h> +#include <string.h> #include <scc/mach.h>