summaryrefslogtreecommitdiff
path: root/src/thread.h
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2021-12-10 21:36:59 +0800
committerPo Lu <luangruo@yahoo.com>2021-12-11 19:49:40 +0800
commita37484992651fa6bdee9d5181fb6b096dbf41426 (patch)
tree6d8ed65a07f9da3bc7565be1db166b5090c42378 /src/thread.h
parent5708da48d1c7017b937e0fbfeb7de77bb3ba084e (diff)
downloademacs-a37484992651fa6bdee9d5181fb6b096dbf41426.tar.gz
emacs-a37484992651fa6bdee9d5181fb6b096dbf41426.tar.bz2
emacs-a37484992651fa6bdee9d5181fb6b096dbf41426.zip
Fix the DJGPP port
* config.bat: * msdos/sed1v2.inp: * msdos/sed2v2.inp: * msdos/sed3v2.inp: * msdos/sedlibmk.inp: Update for Emacs 28. * msdos/langinfo.h: New file. * lisp/loadup.el: Use correct path to temacs when dumping on MS-DOS. * src/callproc.c (environ) [MSDOS]: New declaration. (child_setup, emacs_spawn): Update MS-DOS parts for Emacs 28. * src/fileio.c (Fcopy_file): Don't use copy_file_range on MS-DOS. * src/msdos.c (initialize_msdos_display): Add `defined_color_hook'. (openat, fchmodat, futimens, utimensat): New functions. * src/msdos.h (FRAME_X_DISPLAY): New macro. * src/process.c: Make some more things conditional on subprocess support. (PIPECONN_P, PIPECONN1_P) [!subprocesses]: New placeholder macros. (Fnum_processors): Return 1 on MSDOS. (open_channel_for_module): Avoid subprocess specific code on MSDOS.
Diffstat (limited to 'src/thread.h')
-rw-r--r--src/thread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread.h b/src/thread.h
index cf3ce922c46..b316e916d1d 100644
--- a/src/thread.h
+++ b/src/thread.h
@@ -26,6 +26,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#endif
#ifdef MSDOS
+#include <time.h> /* struct rpl_timespec */
#include <signal.h> /* sigset_t */
#endif