commit f8ee0a65040db22d587ccb3f84fb6750f1bf476b
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Thu Feb 16 07:14:53 2017 +0100
Commit:     Roberto E. Vargas Caballero <[email protected]>
CommitDate: Thu Feb 16 07:14:53 2017 +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.

diff --git a/inc/cc.h b/inc/cc.h
index 7fcc4fd..be86109 100644
--- 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;

Reply via email to