summaryrefslogtreecommitdiff
path: root/src/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c
index ec06493b9e4..33d113295ba 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -25,6 +25,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include "process.h"
#include "coding.h"
#include "syssignal.h"
+#include "pdumper.h"
#include "keyboard.h"
union aligned_thread_state
@@ -1064,7 +1065,7 @@ init_main_thread (void)
}
bool
-main_thread_p (void *ptr)
+main_thread_p (const void *ptr)
{
return ptr == &main_thread.s;
}