commit b772b281f68f5f5414fd3c3ba5121ec042b6ff4e
parent d6cbda1db0821f73747d8a92ce2db1a6442ee349
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: Fri, 1 Apr 2022 22:17:00 -0500
Makefile: POSIXify
Diffstat:
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -1,3 +1,4 @@
+.POSIX:
PREFIX = /usr/local
LIB = -lwayland-client
WAYCOPY_OBJ = protocol/wlr-data-control-unstable-v1.o waycopy.o common.o util.o
diff --git a/waycopy.c b/waycopy.c
@@ -1,3 +1,5 @@
+#define _POSIX_C_SOURCE 1
+
#include <assert.h>
#include <fcntl.h>
#include <limits.h>