]> granicus.if.org Git - sudo/commitdiff
Need to include stddef.h to get rsize_t on Mac OS X for sudo_memset_s()
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 30 Jun 2015 20:11:53 +0000 (14:11 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 30 Jun 2015 20:11:53 +0000 (14:11 -0600)
prototype.

include/sudo_compat.h

index 6d9dae404841421b1459aa0b104c01dbe3f4c0dd..e1d78f2745e196afb0ae228c8ccd80f5982c2d1c 100644 (file)
@@ -24,6 +24,7 @@
 
 #include <stdio.h>
 #include <stdarg.h>
+#include <stddef.h>    /* for rsize_t */
 
 /*
  * Macros and functions that may be missing on some operating systems.