diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-05-30 15:44:48 +0200 |
|---|---|---|
| committer | Isaac Freund <ifreund@ifreund.xyz> | 2020-05-30 15:44:48 +0200 |
| commit | 9cd61f75903a83e56538ae3d69e7c2f3d2e6ca10 (patch) | |
| tree | 0803e6270e069807b496c33e1b44146ed328c2b5 | |
| parent | 7209e20139dc3b775552bfe3773b22dc1af7e819 (diff) | |
| download | river-9cd61f75903a83e56538ae3d69e7c2f3d2e6ca10.tar.gz river-9cd61f75903a83e56538ae3d69e7c2f3d2e6ca10.tar.xz | |
Define _POSIX_C_SOURCE
| -rw-r--r-- | src/c.zig | 2 |
1 files changed, 2 insertions, 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"); |
