summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-04-21 23:02:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:51:20 -0500
commitf71b2fdfe287452214de611df948e00f87281cbd (patch)
treeb786ecb705b3e41424b11807cfcdde28c6e3d973 /source4/heimdal_build
parent2acf0d65372e009d67e5ebc0978084c2a88939ea (diff)
downloadsamba-f71b2fdfe287452214de611df948e00f87281cbd.tar.gz
samba-f71b2fdfe287452214de611df948e00f87281cbd.tar.bz2
samba-f71b2fdfe287452214de611df948e00f87281cbd.zip
r22438: get rid of printf format warnings in heimdal code
metze (This used to be commit 2ab998da99102e257a61e04c776fe2db2088351c)
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/roken.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/heimdal_build/roken.h b/source4/heimdal_build/roken.h
index 766f4555b8..192500ce3e 100644
--- a/source4/heimdal_build/roken.h
+++ b/source4/heimdal_build/roken.h
@@ -73,6 +73,12 @@
#define HAVE_INNETGR
#endif
+#if (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 1 )
+#ifndef HAVE___ATTRIBUTE__
+#define HAVE___ATTRIBUTE__
+#endif
+#endif
+
/*
* we don't want that roken.h.in includes socket_wrapper
* we include socket_wrapper via "system/network.h"