Skip to content

Commit 9c74f79

Browse files
committed
fixing error: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
1 parent b75e151 commit 9c74f79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#endif
2929

3030
#if defined(HAVE_STRLCAT) || defined(HAVE_STRLCPY)
31-
# define _BSD_SOURCE
31+
# define _DEFAULT_SOURCE
3232
#endif
3333

3434
#include "compat.h"

0 commit comments

Comments
 (0)