mirror of
https://gitlab.com/d3tn/ud3tn.git
synced 2026-08-13 12:33:27 +02:00
aap2sendfile: Define _POSIX_C_SOURCE before including anything else
Otherwise there may be a re-definition in recursively included header files. Signed-off-by: Felix Walter <felix.walter@d3tn.com>
This commit is contained in:
parent
3349040b3a
commit
df5775c07b
1 changed files with 2 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
|||
// SPDX-License-Identifier: BSD-3-Clause OR Apache-2.0
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
|
||||
#include "aap2/aap2_client.h"
|
||||
|
||||
#define _POSIX_C_SOURCE 200809L
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue