Skip to content

Commit 3f52af5

Browse files
g++ fix warning on define
1 parent 0a93923 commit 3f52af5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/wolfsshd/auth.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@
2626

2727
#ifdef __linux__
2828
#define _XOPEN_SOURCE
29-
#define _GNU_SOURCE
29+
#ifndef _GNU_SOURCE
30+
#define _GNU_SOURCE
31+
#endif
3032
#endif
3133
#include <unistd.h>
3234

0 commit comments

Comments
 (0)