Skip to content

Fix build with -D_FORTIFY_SOURCE=2

Bastien Nocera requested to merge github/fork/agx/fortify-source-2 into master

Created by: agx

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.

Merge request reports