zardus / preeny

Some helpful preload libraries for pwning stuff.
BSD 2-Clause "Simplified" License
1.57k stars 170 forks source link

eofkiller.c: build fix #61

Closed ghost closed 5 years ago

ghost commented 5 years ago

Hello!

{standard input}: Assembler messages:
{standard input}:496: Error: symbol __isoc99_scanf is already defined
{standard input}:622: Error: symbol __isoc99_fscanf is already defined
make[2]: *** [CMakeFiles/eofkiller.dir/build.make:63: CMakeFiles/eofkiller.dir/src/eofkiller.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:480: CMakeFiles/eofkiller.dir/all] Error 2
make: *** [Makefile:84: all] Error 2

Fix for Arch Linux build. Thanks in advance!

zardus commented 5 years ago

My understanding is that this would fix for arch, but break for, say, Ubuntu 18.04... Can you think of a way to prevent breakage on non-arch?

ghost commented 5 years ago

@zardus sorry, forgot about Ubuntu users :p Now it's fixed!

zardus commented 5 years ago

Thank you :-)