]> granicus.if.org Git - sudo/commitdiff
Include sys/types.h to get gid_t, etc used in sudo_compat.h.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 1 Oct 2014 15:30:17 +0000 (09:30 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 1 Oct 2014 15:30:17 +0000 (09:30 -0600)
Fixes a build issue on Solaris.

src/preload.c

index 5e2c8ddd7219341779ff596c921728b671884fb8..8836513c800a55f3b1b2cd7f75f4e76177ccd996 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <config.h>
 
+#include <sys/types.h>
 #ifdef HAVE_GSS_KRB5_CCACHE_NAME
 # if defined(HAVE_GSSAPI_GSSAPI_KRB5_H)
 #  include <gssapi/gssapi.h>