Merge pull request #108 from Zillode/1edff47af38a2335f88300ee6dc437118f5a20ff

Fixes redefined warnings ("_GNU_SOURCE")
This commit is contained in:
Petri Lehtinen 2013-04-02 05:40:49 -07:00
commit 6281d1c549
4 changed files with 11 additions and 0 deletions

View File

@ -5,7 +5,10 @@
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

View File

@ -5,7 +5,10 @@
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <errno.h>
#include <limits.h>
#include <stdio.h>

View File

@ -5,7 +5,10 @@
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stdlib.h>
#include <string.h>
#include "jansson_private.h"

View File

@ -5,7 +5,9 @@
* it under the terms of the MIT license. See LICENSE for details.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stddef.h>
#include <stdlib.h>