Set the feature test macro before including the header to enable non-standard functions used by libr3

This commit is contained in:
Martijn Otto 2018-02-21 09:49:54 +01:00
parent 8d0b90f6e1
commit 55de164023

View file

@ -19,6 +19,9 @@
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
#define _GNU_SOURCE
#include <assert.h>
#include <errno.h>
#include <fcntl.h>