summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index b8cd415ef9..854200e4cb 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1303,6 +1303,16 @@ int slprintf(char *str, int n, char *format, ...)
int slprintf();
#endif
+#ifdef HAVE_STDARG_H
+int fdprintf(int fd, char *format, ...)
+#ifdef __GNUC__
+ __attribute__ ((format (printf, 2, 3)))
+#endif
+;
+#else
+int fdprintf();
+#endif
+
#ifdef WITH_DFS
void dfs_unlogin(void);
extern int dcelogin_atmost_once;