From 74622a761243adc72ac955e33227a5801552ee99 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sun, 11 Sep 2005 05:18:14 +0000 Subject: [PATCH] r10151: Fix includes correctly. Patch from Steve Williams . Jeremy. (This used to be commit 17598846e7ee2748f2dcb3821823108fa8410480) --- source3/include/smb_share_modes.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source3/include/smb_share_modes.h b/source3/include/smb_share_modes.h index 5a79e171d55..f61ba624c69 100644 --- a/source3/include/smb_share_modes.h +++ b/source3/include/smb_share_modes.h @@ -25,7 +25,14 @@ extern "C" { #endif -#include +#if HAVE_INTTYPES_H +# include +#else +# if HAVE_STDINT_H +# include +# endif +#endif + #include "tdb.h" /* Database context handle. */