From be48c66886d874fd728aa3013d3ba70c6fc5563d Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sat, 31 Aug 2013 20:01:32 +0200 Subject: [PATCH] musl: fixed ulogd2 by defining _GNU_SOURCE for exposing struct tcphdr --- base/musl/pkg/ulogd2/ulogd2.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 base/musl/pkg/ulogd2/ulogd2.conf diff --git a/base/musl/pkg/ulogd2/ulogd2.conf b/base/musl/pkg/ulogd2/ulogd2.conf new file mode 100644 index 000000000..1a56b2f24 --- /dev/null +++ b/base/musl/pkg/ulogd2/ulogd2.conf @@ -0,0 +1,17 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../musl/pkg/ulogd2/ulogd2.conf +# Copyright (C) 2013 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +# in musl struct tcphdr is exposed when defining _GNU_SOURCE +var_append CFLAGS ' ' "-D_GNU_SOURCE" +var_append configprefix ' ' 'CFLAGS=$CFLAGS'