Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

## data.table [v1.18.99](https://github.com/Rdatatable/data.table/milestone/37?closed=1) (in development)

### BUG FIXES

1. Fixed the compilation failure in v1.18.0 in some strict environments, e.g., FreeBSD, where the header file declaring the POSIX function `waitid` does not transitively include the header file defining the `siginfo_t` type, [#7516](https://github.com/rdatatable/data.table/issues/7516). Thanks to @jszhao for the report and @aitap for the fix.

## data.table [v1.18.0](https://github.com/Rdatatable/data.table/milestone/37?closed=1) 23 December 2025

Expand Down
3 changes: 2 additions & 1 deletion src/utils.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef _WIN32
# define _POSIX_C_SOURCE 200809L // required for POSIX (not standard C) features in is_direct_child e.g. 'siginfo_t'
# include <sys/wait.h>
# include <signal.h> // siginfo_t
# include <sys/wait.h> // waitid
#endif

#include "data.table.h"
Expand Down
Loading