summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/config.h.in4
-rw-r--r--source3/include/includes.h6
2 files changed, 10 insertions, 0 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index 406fabb545..591ec31e65 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -212,6 +212,10 @@
#undef HAVE_AIX_ACLS
#undef HAVE_NO_ACLS
#undef HAVE_LIBPAM
+#undef HAVE_ASPRINTF_DECL
+#undef HAVE_VASPRINTF_DECL
+#undef HAVE_SNPRINTF_DECL
+#undef HAVE_VSNPRINTF_DECL
/* The number of bytes in a int. */
#undef SIZEOF_INT
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 9137799064..e30831ac80 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -865,6 +865,12 @@ int setresuid(uid_t ruid, uid_t euid, uid_t suid);
#if (defined(USE_SETRESUID) && !defined(HAVE_SETRESGID_DECL))
int setresgid(gid_t rgid, gid_t egid, gid_t sgid);
#endif
+#ifndef HAVE_ASPRINTF_DECL
+int asprintf(char **ptr, const char *format, ...);
+#endif
+#ifndef HAVE_VASPRINTF_DECL
+int vasprintf(char **ptr, const char *format, va_list ap);
+#endif
#if !defined(HAVE_BZERO) && defined(HAVE_MEMSET)
#define bzero(a,b) memset((a),'\0',(b))