heimdal: don't include <sys/cdefs.h> without knowing it's there
authorStefan Metzmacher <metze@samba.org>
Fri, 30 Jan 2009 16:34:49 +0000 (17:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 26 Mar 2009 08:54:51 +0000 (09:54 +0100)
metze

lib/roken/vis.hin

index 64274526e47a556dd2d2cd3b90e0a8172a1f638c..06a250c6d856b7b8131db20893cce304d63e6daf 100644 (file)
@@ -80,7 +80,9 @@
  */
 #define        UNVIS_END       1       /* no more characters */
 
+#ifdef HAVE_SYS_CDEFS_H
 #include <sys/cdefs.h>
+#endif
 
 __BEGIN_DECLS
 char * ROKEN_LIB_FUNCTION