diff options
author | Maxime Devos <maximedevos@telenet.be> | 2021-08-14 21:04:12 +0200 |
---|---|---|
committer | Maxime Devos <maximedevos@telenet.be> | 2021-09-21 12:15:27 +0200 |
commit | 6d28c263afef903a13c863949789ba8efabad7bd (patch) | |
tree | 8d0d8f750a33ec3a8bceee1d0a2f6666d73104f7 /gnu/gnunet/util/cmsg.scm | |
parent | a43fa4d2841115ad82a4c4b21860b99a0e1825ea (diff) | |
download | gnunet-scheme-6d28c263afef903a13c863949789ba8efabad7bd.tar.gz gnunet-scheme-6d28c263afef903a13c863949789ba8efabad7bd.zip |
cmsg: Fix broken tests.
The tests were broken with the introduction of the -O3 compilation
flag, which caused some private bindings to be optimised out, even
though they were used by the tests. Export the required previously
private bindings.
* gnu/gnunet/util/cmsg.scm: Export cmsghdr:size, align-len and
cmsghdr.
Diffstat (limited to 'gnu/gnunet/util/cmsg.scm')
-rw-r--r-- | gnu/gnunet/util/cmsg.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/gnunet/util/cmsg.scm b/gnu/gnunet/util/cmsg.scm index f56cd45..0b7014b 100644 --- a/gnu/gnunet/util/cmsg.scm +++ b/gnu/gnunet/util/cmsg.scm | |||
@@ -69,7 +69,9 @@ | |||
69 | write-ancillary-vector->control! | 69 | write-ancillary-vector->control! |
70 | write-ancillaries->control! | 70 | write-ancillaries->control! |
71 | ancillary-vector->bytevector | 71 | ancillary-vector->bytevector |
72 | ancillaries->bytevector) | 72 | ancillaries->bytevector |
73 | ;; Required by tests | ||
74 | cmsghdr:size align-len cmsghdr) | ||
73 | #:use-module (rnrs records syntactic) | 75 | #:use-module (rnrs records syntactic) |
74 | #:use-module (rnrs conditions) | 76 | #:use-module (rnrs conditions) |
75 | #:use-module (rnrs bytevectors) | 77 | #:use-module (rnrs bytevectors) |