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

Commit 34f18ba6 authored by deuce's avatar deuce


parent c045a77f
......@@ -278,7 +278,7 @@ int DLLCALL unlock(int file, off_t offset, off_t size)
#endif /* !Unix && (MSVC || MinGW) */
#ifdef __unix__
FILE *_fsopen(char *pszFilename, char *pszMode, int shmode)
FILE *_fsopen(const char *pszFilename, const char *pszMode, int shmode)
int file;
int Mode=0;
......@@ -172,7 +172,7 @@ extern "C" {
#if defined(__unix__)
DLLEXPORT FILE * DLLCALL _fsopen(char *pszFilename, char *pszMode, int shmode);
DLLEXPORT FILE * DLLCALL _fsopen(const char *pszFilename, const char *pszMode, int shmode);
#if defined(_MSC_VER) && (_MSC_VER < 1300) /* missing prototypes */
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