Merge pull request #6041 from ffontaine/master

src/libuwac/uwac-os.c: fix build with uclibc
This commit is contained in:
David Fort 2020-04-10 11:53:09 +02:00 committed by GitHub
commit 969b990237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,11 @@
#define USE_SHM
#endif
/* uClibc and uClibc-ng don't provide O_TMPFILE */
#ifndef O_TMPFILE
#define O_TMPFILE (020000000 | O_DIRECTORY)
#endif
#include <sys/types.h>
#include <sys/socket.h>
#ifdef USE_SHM