Skip to content

Commit

Permalink
strdup is a posix extension, to be used correctly that has to be defi…
Browse files Browse the repository at this point in the history
…ned (only used here, no need to pass as -D
  • Loading branch information
pierrejoye authored and khaledhosny committed Feb 12, 2022
1 parent 0478fbc commit 3f50e35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/raqm-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
* SOFTWARE.
*
*/

#ifdef __GNUC__
#define _DEFAULT_SOURCE
#endif
#include <assert.h>
#include <errno.h>
#include <locale.h>
Expand Down

0 comments on commit 3f50e35

Please sign in to comment.