guile-commits
[Top][All Lists]
Advanced

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

[Guile-commits] 01/02: Fix compilation --without-threads.


From: Ludovic Courtès
Subject: [Guile-commits] 01/02: Fix compilation --without-threads.
Date: Sat, 21 Mar 2020 13:27:27 -0400 (EDT)

civodul pushed a commit to branch master
in repository guile.

commit 865d48058e6b1604b95a5da49334aaf80a6d6471
Author: Matt Wette <address@hidden>
AuthorDate: Sat Mar 21 18:19:29 2020 +0100

    Fix compilation --without-threads.
    
    Fixes <https://bugs.gnu.org/40075>.
    Reported by Thomas Klausner <address@hidden>.
    
    * libguile/null-threads.h: Include "libguile/scm.h".
    * libguile/null-threads.c: Include "libguile/scmconfig.h".
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 libguile/null-threads.c | 2 ++
 libguile/null-threads.h | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/libguile/null-threads.c b/libguile/null-threads.c
index fd9f189..aa6dbdf 100644
--- a/libguile/null-threads.c
+++ b/libguile/null-threads.c
@@ -23,6 +23,8 @@
 
 #include <stdlib.h>
 
+#include "libguile/scmconfig.h"
+
 
 #if SCM_USE_NULL_THREADS
 #include "null-threads.h"
diff --git a/libguile/null-threads.h b/libguile/null-threads.h
index a15bd21..88926fa 100644
--- a/libguile/null-threads.h
+++ b/libguile/null-threads.h
@@ -36,6 +36,8 @@
 #include <signal.h>
 #include <errno.h>
 
+#include "libguile/scm.h"
+
 /* Threads
 */
 typedef int scm_i_pthread_t;



reply via email to

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