summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-06-18 08:35:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:36 -0500
commit9cee5574e9e2ed551bca400b8b674a2894090a23 (patch)
tree1336b1c4d7f94d70ab07d7f5240df71910d1966f /source3
parent8ceeef3266b4b35680d6becfa67e0dfb97efab68 (diff)
downloadsamba-9cee5574e9e2ed551bca400b8b674a2894090a23.tar.gz
samba-9cee5574e9e2ed551bca400b8b674a2894090a23.tar.bz2
samba-9cee5574e9e2ed551bca400b8b674a2894090a23.zip
r16337: Add configure fixes by Bjoern Jacke <samba@j3e.de>.
Volker (This used to be commit 1b3a24732df19addb8c2dfaae99f5fbf5bbccc44)
Diffstat (limited to 'source3')
-rw-r--r--source3/aclocal.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/aclocal.m4 b/source3/aclocal.m4
index 39c6962d7a..af7ed7b406 100644
--- a/source3/aclocal.m4
+++ b/source3/aclocal.m4
@@ -892,6 +892,8 @@ AC_DEFUN([SMB_CHECK_DMAPI],
LIBS="$LIBS $samba_dmapi_libs"
AC_TRY_LINK(
[
+#include <time.h> /* needed by Tru64 */
+#include <sys/types.h> /* needed by AIX */
#ifdef HAVE_XFS_DMAPI_H
#include <xfs/dmapi.h>
#elif defined(HAVE_SYS_DMI_H)
@@ -906,14 +908,12 @@ AC_DEFUN([SMB_CHECK_DMAPI],
/* This link test is designed to fail on IRI 6.4, but should
* succeed on Linux, IRIX 6.5 and AIX.
*/
-void main(void) {
char * version;
dm_eventset_t events;
/* This doesn't take an argument on IRIX 6.4. */
dm_init_service(&version);
/* IRIX 6.4 expects events to be a pointer. */
DMEV_ISSET(DM_EVENT_READ, events);
-}
],
[
true # DMAPI link test succeeded