]> granicus.if.org Git - sudo/commitdiff
Include stddef.h for rsize_t and errno_t on systems that support
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 30 Sep 2013 00:35:34 +0000 (18:35 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 30 Sep 2013 00:35:34 +0000 (18:35 -0600)
it natively.

include/missing.h

index 31294add42ef78c7b10117ebe9ca232784767e79..b0bcc6b0577a270500b0f9e6b8c1fc31af6bdb33 100644 (file)
@@ -23,6 +23,9 @@
 #define _SUDO_MISSING_H
 
 #include <stdio.h>
+#ifdef STDC_HEADERS
+# include <stddef.h>
+#endif
 #include <stdarg.h>
 
 /*