@cryptotaxi247 / netdata-1 / commits / 744bcf3d8

fix cmake _GNU_SOURCE warnings (#16761)

Costa Tsaousis committed Jan 11, 2024 at 20:43 UTC 744bcf3d85c47774a500542be4be5860b6869caa
2 files changed +4
mqtt_websockets/src/mqtt_ng.c
+2
@@ -1,4 +1,6 @@
1 +#ifndef _GNU_SOURCE
2 #define _GNU_SOURCE
3 +#endif
4
5 #include <stdint.h>
6 #include <stdlib.h>
mqtt_websockets/src/mqtt_wss_client.c
+2
@@ -10,7 +10,9 @@
10 //
11 // You should have received a copy of the GNU General Public License along with this program.
12 // If not, see <https://www.gnu.org/licenses/>.
13 +#ifndef _GNU_SOURCE
14 #define _GNU_SOURCE
15 +#endif
16
17 #include "mqtt_wss_client.h"
18 #include "mqtt_ng.h"