heimdal: don't include <sys/cdefs.h> without knowing it's there
[samba.git] / source4 / heimdal / 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