From faf7004c13f45442a6cdbe68ba977523d6593fc7 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Tue, 8 Sep 2009 14:15:28 +0200 Subject: C99 conformance --- libpiano/src/main.c | 2 ++ libpiano/src/xml.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'libpiano') diff --git a/libpiano/src/main.c b/libpiano/src/main.c index f5e9b85..0510830 100644 --- a/libpiano/src/main.c +++ b/libpiano/src/main.c @@ -21,6 +21,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#define _BSD_SOURCE /* required by strdup() */ + #include #include #include diff --git a/libpiano/src/xml.c b/libpiano/src/xml.c index 5045440..8e8fb2a 100644 --- a/libpiano/src/xml.c +++ b/libpiano/src/xml.c @@ -21,6 +21,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +#define _BSD_SOURCE /* required by strdup() */ + #include #include #include -- cgit v1.2.3