No need for _XOPEN_SOURCE_EXTENDED, just define _XOPEN_SOURCE properly.

This commit is contained in:
ajacoutot 2022-11-07 18:15:54 +00:00
parent a51c0bece1
commit 90877a9ad4
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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>