wayclip

Wayland clipboard utility
git clone git://git.nihaljere.xyz/wayclip
Log | Files | Refs | README | LICENSE

commit 434028e21384c5e28fde543b8bad28abcb095e87
parent 0005420941843f8d13df25de3b37d1b774cfb3d3
Author: tleydxdy <10610765+tleydxdy@users.noreply.github.com>
Date:   Sun,  1 May 2022 12:35:08 -0400

need _POSIX_C_SOURCE 2 for getopt to work

using the default CC for posix aka c99 will not include getopt automatically

Diffstat:
Mutil.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/util.c b/util.c @@ -1,3 +1,4 @@ +#define _POSIX_C_SOURCE 2 #include <stdlib.h> #include <stdbool.h> #include <stdio.h>