diff options
| author | Mattias Andrée <m@maandree.se> | 2026-05-12 21:22:54 +0200 |
|---|---|---|
| committer | Mattias Andrée <m@maandree.se> | 2026-05-12 21:22:54 +0200 |
| commit | fc0b70a60407e1e65610712a702f8286db3a328c (patch) | |
| tree | 05f42c75245c1160c4bf7a7d391de7a16b109c83 /common.h | |
| parent | Misc (diff) | |
| download | librecrypt-fc0b70a60407e1e65610712a702f8286db3a328c.tar.gz librecrypt-fc0b70a60407e1e65610712a702f8286db3a328c.tar.bz2 librecrypt-fc0b70a60407e1e65610712a702f8286db3a328c.tar.xz | |
Work on test code
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -45,6 +45,11 @@ #endif +#if defined(POSIX_CLOSE_RESTART) && !defined(__linux__) +# define close(fd) posix_close(fd, 0) +#endif + + /** * Used for literal commas in macro calls */ @@ -447,6 +452,7 @@ int librecrypt_check_settings_(const char *settings, size_t len, const char *fmt # endif # include <sys/resource.h> # include <sys/types.h> +# include <sys/uio.h> # include <sys/wait.h> # include <setjmp.h> # include <signal.h> |
