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 3fa5afb4 authored by rswindell's avatar rswindell
Browse files

Only #include threadwrap.h if SBBS is defined.

- prevents use of realpath_r() in single threaded utils.
parent e38edc02
...@@ -107,8 +107,10 @@ ...@@ -107,8 +107,10 @@
/***********************/ /***********************/
/* Synchronet-specific */ /* Synchronet-specific */
/***********************/ /***********************/
#ifdef SBBS /* Only SBBS is multi-threaded */
#include "threadwrap.h" /* must be before dirwrap.h for OpenBSD FULLPATH */
#endif
#include "genwrap.h" #include "genwrap.h"
#include "threadwrap.h" /* must be before dirwrap.h for OpenBSD FULLPATH */
#include "dirwrap.h" #include "dirwrap.h"
#include "filewrap.h" #include "filewrap.h"
#include "sockwrap.h" #include "sockwrap.h"
......
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