mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
Fix compilation --without-threads.
Fixes <https://bugs.gnu.org/40075>. Reported by Thomas Klausner <tk@giga.or.at>. * libguile/null-threads.h: Include "libguile/scm.h". * libguile/null-threads.c: Include "libguile/scmconfig.h". Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
89edd1bc2d
commit
865d48058e
2 changed files with 4 additions and 0 deletions
|
@ -23,6 +23,8 @@
|
|||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "libguile/scmconfig.h"
|
||||
|
||||
|
||||
#if SCM_USE_NULL_THREADS
|
||||
#include "null-threads.h"
|
||||
|
|
|
@ -36,6 +36,8 @@
|
|||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "libguile/scm.h"
|
||||
|
||||
/* Threads
|
||||
*/
|
||||
typedef int scm_i_pthread_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue