Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit adf3d381 authored by rswindell's avatar rswindell

#defines STDIN/OUT/ERR_FILENO constants if not already defined.

parent 7af7e922
......@@ -101,6 +101,13 @@
#endif
/* Standard file descriptors. */
#ifndef STDIN_FILENO
#define STDIN_FILENO 0 /* Standard input */
#define STDOUT_FILENO 1 /* Standard output */
#define STDERR_FILENO 2 /* Standard error output */
#endif
#ifndef O_DENYNONE
#define O_DENYNONE SH_DENYNO
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment