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