scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit f8ee0a65040db22d587ccb3f84fb6750f1bf476b
parent 38178a4bd93825581a30edfe490aa173c1fdb59b
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 16 Feb 2017 07:14:53 +0100

Don't include <sys/types.h> in cc.h

This file is intended to be c99, so we shouldn't use a POSIX
header there, and we should use stddef.h, that defines size_t.

Diffstat:
Minc/cc.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/inc/cc.h b/inc/cc.h @@ -1,5 +1,5 @@ /* See LICENSE file for copyright and license details. */ -#include <sys/types.h> +#include <stddef.h> #ifndef NDEBUG extern int debug;