popen() requires _POSIX_SOURCE to be 2 or higher.
This commit is contained in:
parent
ee82fdbbc3
commit
218d97541c
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -1,5 +1,5 @@
|
|||
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
|
||||
./imcat ~/Desktop/*.png
|
||||
|
|
Loading…
Reference in a new issue