summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2014-05-21 05:45:39 +0200
committerVijay Bellur <vbellur@redhat.com>2014-06-02 03:58:32 -0700
commit4f9314a5eda016d5a03ad637f2c6171794cc9291 (patch)
tree839fa131ef1a0117df5d609e820f91e3bbca836a /configure.ac
parentdb022ef7ecca77cbecbcc4c046b6d3aafd2cb86f (diff)
downloadglusterfs-4f9314a5eda016d5a03ad637f2c6171794cc9291.tar.gz
glusterfs-4f9314a5eda016d5a03ad637f2c6171794cc9291.tar.xz
glusterfs-4f9314a5eda016d5a03ad637f2c6171794cc9291.zip
NetBSD qemu build fixes
Fix NetBSD build for glusterfs built in qmeu sources BUG: 764655 Change-Id: I4428a88b1e0d7c5f6740022861ffe230dbbd84bd Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.org/7815 Reviewed-by: Harshavardhana <harsha@harshavardhana.net> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 44e2d0875a..04b6c72fd1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -664,7 +664,7 @@ dnl FreeBSD, NetBSD
AC_CHECK_MEMBERS([struct stat.st_atimespec.tv_nsec])
case $host_os in
*netbsd*)
- CFLAGS="${CFLAGS} -D_INCOMPLETE_XOPEN_C063"
+ CFLAGS="${CFLAGS} -D_INCOMPLETE_XOPEN_C063 -DCONFIG_MACHINE_BSWAP_H"
;;
esac
AC_CHECK_FUNC([linkat], [have_linkat=yes])