Define _POSIX_C_SOURCE
This commit is contained in:
parent
7209e20139
commit
9cd61f7590
1 changed files with 2 additions and 0 deletions
|
@ -16,7 +16,9 @@
|
|||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
pub usingnamespace @cImport({
|
||||
@cDefine("_POSIX_C_SOURCE", "200809L");
|
||||
@cDefine("WLR_USE_UNSTABLE", {});
|
||||
|
||||
@cInclude("time.h");
|
||||
@cInclude("stdlib.h");
|
||||
@cInclude("wayland-server-core.h");
|
||||
|
|
Loading…
Reference in a new issue