Fix double declaration of _XOPEN_SOURCE
The adminusers.c file declared it twice; first explicitly and then implicitly by including cdefs.h.
This commit is contained in:
@ -10,13 +10,11 @@
|
||||
* of this software will be governed by version 2 or later of the General
|
||||
* Public License.
|
||||
*/
|
||||
#include <maxscale/cdefs.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#ifndef _XOPEN_SOURCE
|
||||
#define _XOPEN_SOURCE 700
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#include <crypt.h>
|
||||
#include <maxscale/users.h>
|
||||
|
Reference in New Issue
Block a user