hadess / iio-sensor-proxy

IIO accelerometer sensor to input device proxy
198 stars 64 forks source link

Fix build with -D_FORTIFY_SOURCE=2 #293

Closed agx closed 4 years ago

agx commented 4 years ago

This fixes the build with

CPPFLAGS='-D_FORTIFY_SOURCE=2'   ./configure && make

-D_FORTIFY_SOURCE=2 is one of the flags passed Debian based distros when turning on the hardening flags.

hadess commented 4 years ago

Moved to https://gitlab.freedesktop.org/hadess/iio-sensor-proxy/merge_requests/293