Skip to content

Commit

Permalink
fmemopen: add declaration for __sflags
Browse files Browse the repository at this point in the history
  • Loading branch information
mascguy committed Jul 5, 2023
1 parent 0b67cf1 commit b570b7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fmemopen.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
#include <string.h>
#include <errno.h>

extern int __sflags(const char *, int *);

struct fmemopen_cookie
{
char *buf; /* pointer to the memory region */
Expand Down

0 comments on commit b570b7f

Please sign in to comment.