popen() requires _POSIX_SOURCE to be 2 or higher.

This commit is contained in:
stolk 2019-11-12 09:22:08 -08:00
parent ee82fdbbc3
commit 218d97541c

View file

@ -1,5 +1,5 @@
imcat: imcat.c imcat: imcat.c
cc -std=c99 -Wall -g -o imcat imcat.c -lm cc -D_POSIX_C_SOURCE=2 -std=c99 -Wall -g -o imcat imcat.c -lm
run: imcat run: imcat
./imcat ~/Desktop/*.png ./imcat ~/Desktop/*.png