No need for _XOPEN_SOURCE_EXTENDED, just define _XOPEN_SOURCE properly.
This commit is contained in:
parent
a51c0bece1
commit
90877a9ad4
@ -5,7 +5,7 @@ COMMENT= API for accessing scanners, backends
|
||||
V= 1.1.1
|
||||
DISTNAME= backends-${V}
|
||||
PKGNAME= sane-${DISTNAME}
|
||||
REVISION= 2
|
||||
REVISION= 3
|
||||
|
||||
SHARED_LIBS += sane 2.2 # unknown
|
||||
|
||||
|
@ -6,7 +6,7 @@ umax_pp.c:330: warning: implicit declaration of function 'putenv'
|
||||
|
||||
/* For putenv */
|
||||
#define _XOPEN_SOURCE
|
||||
+#define _XOPEN_SOURCE_EXTENDED 1
|
||||
+#define _XOPEN_SOURCE 700
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
Loading…
Reference in New Issue
Block a user