Skip to content

Commit

Permalink
Merge pull request #55 from evgeni/default-source
Browse files Browse the repository at this point in the history
set _DEFAULT_SOURCE together with _BSD_SOURCE
  • Loading branch information
twogood authored Dec 27, 2016
2 parents 2643ea7 + c793a46 commit 7b88187
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/helper.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#define _BSD_SOURCE 1
#define _DEFAULT_SOURCE 1
#include "internal.h"
#include "log.h"
#include "convert_utf/ConvertUTF.h"
Expand Down
1 change: 1 addition & 0 deletions lib/libunshield.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* $Id$ */
#define _BSD_SOURCE 1
#define _DEFAULT_SOURCE 1
#include "internal.h"
#include "log.h"
#include <assert.h>
Expand Down
1 change: 1 addition & 0 deletions src/unshield.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* $Id$ */
#ifdef __linux__
#define _BSD_SOURCE 1
#define _DEFAULT_SOURCE 1
#define _POSIX_C_SOURCE 2
#endif
#include <sys/types.h>
Expand Down

0 comments on commit 7b88187

Please sign in to comment.