gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] branch master updated: align.m4: Add stdlib.h expl


From: gnunet
Subject: [GNUnet-SVN] [gnunet] branch master updated: align.m4: Add stdlib.h explicitly to make the test pass on NetBSD. Should not be problematic, every system we support right now has a stdlib.
Date: Wed, 11 Sep 2019 15:25:08 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 34055eec1 align.m4: Add stdlib.h explicitly to make the test pass on 
NetBSD. Should not be problematic, every system we support right now has a 
stdlib.
34055eec1 is described below

commit 34055eec1e9bcb71537067367a93989c021fadc6
Author: ng0 <address@hidden>
AuthorDate: Wed Sep 11 13:21:55 2019 +0000

    align.m4: Add stdlib.h explicitly to make the test pass on NetBSD.
    Should not be problematic, every system we support right now has a
    stdlib.
---
 m4/align.m4 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/m4/align.m4 b/m4/align.m4
index 7bcbae8fa..57ffee7fc 100644
--- a/m4/align.m4
+++ b/m4/align.m4
@@ -13,7 +13,10 @@ AC_DEFUN([AC_UNALIGNED_64_ACCESS],
 [AC_CACHE_CHECK([whether unaligned 64-bit access works],
  ac_cv_unaligned_64_access,
  [
- AC_RUN_IFELSE([AC_LANG_PROGRAM([[struct S { int a,b,c;};]],
+ AC_RUN_IFELSE([AC_LANG_PROGRAM([[
+                                #include <stdlib.h>
+                                struct S { int a,b,c;};
+                                ]],
                                [[struct S s = {0,0,0}; long long * p = (long 
long *) &s.b;
                                 void *bp = malloc (50);
                                 long long x = *p;

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]