mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
mosquitto-auth-shadow: Define _GNU_SOURCE before using crypt_r
In glibc crypt_r is available only if _GNU_SOURCE is defined, so defining it since we're going to compile with glibc
This commit is contained in:
parent
01625e3382
commit
b96d6a5a1b
1 changed files with 1 additions and 0 deletions
|
|
@ -11,6 +11,7 @@
|
|||
* Erik Karlsson - initial implementation
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE
|
||||
#include <string.h>
|
||||
#include <shadow.h>
|
||||
#include <crypt.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue