Define _POSIX_C_SOURCE

This commit is contained in:
Isaac Freund 2020-05-30 15:44:48 +02:00
parent 7209e20139
commit 9cd61f7590
No known key found for this signature in database
GPG Key ID: 86DED400DDFD7A11

View File

@ -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");