aboutsummaryrefslogtreecommitdiffstats
path: root/macros/gnome-vfs.m4
diff options
context:
space:
mode:
Diffstat (limited to 'macros/gnome-vfs.m4')
-rw-r--r--macros/gnome-vfs.m48
1 files changed, 7 insertions, 1 deletions
diff --git a/macros/gnome-vfs.m4 b/macros/gnome-vfs.m4
index 8ca361f28b..6dce307783 100644
--- a/macros/gnome-vfs.m4
+++ b/macros/gnome-vfs.m4
@@ -48,7 +48,13 @@ AC_DEFUN([GNOME_WITH_VFS],[
])])
AC_CHECK_FUNCS(pmap_getport pmap_getmaps rresvport)
dnl add for source routing support setsockopt
- AC_CHECK_HEADERS(rpc/pmap_clnt.h)
+ AC_CHECK_HEADERS(rpc/pmap_clnt.h, , , [
+#include <sys/types.h>
+#include <sys/socket.h>
+#include <netinet/in.h>
+#include <rpc/rpc.h>
+#include <rpc/pmap_prot.h>
+ ])
vfs_flags="$vfs_flags, mcfs, ftpfs, fish"
use_net_code=true
fi