Skip to content
Commit a039cd3c authored by Alfred Persson Forsberg's avatar Alfred Persson Forsberg Committed by Albert Astals Cid
Browse files

Replace _POSIX_SOURCE->_GNU_SOURCE for saslplugin

The issue here is that NI_MAXHOST is used inside
saslplugin/plugin_common.c. That is a GNU extension only defined when
_GNU_SOURCE is defined. Declarning that this is POSIX source code is
therefore misleading (_POSIX_SOURCE).

This replaces
!25
bribbers/libkgapi@a11d8f31

 because it's defining the source code as GNU and then imports a header re-defines the source code as non-GNU.
This instead sets _GNU_SOURCE in the build system for salsplugin which obsoletes the previous MR. 

Another solution would be to for example use IPPORT_RESERVED if you want
to stay POSIX-pure.

Signed-off-by: default avatarAlfred Persson Forsberg <cat@catcream.org>
parent 7833cb86
Pipeline #203663 passed with stage
in 10 minutes and 5 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment