mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
fix up files for mfshell so that strdup is available on old systems
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#define _POSIX_C_SOURCE 200809L // for strdup
|
||||
#define _GNU_SOURCE // for strdup on old systems
|
||||
|
||||
#include <openssl/ssl.h>
|
||||
#include <stddef.h>
|
||||
|
||||
@@ -23,6 +23,7 @@
|
||||
#else
|
||||
#define _WITH_GETLINE // on freebsd for getline
|
||||
#endif
|
||||
#define _GNU_SOURCE // for strdup on old systems
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
*/
|
||||
|
||||
#define _POSIX_C_SOURCE 200809L // for strdup
|
||||
#define _GNU_SOURCE // for strdup on old systems
|
||||
|
||||
#include <stdio.h>
|
||||
#include <getopt.h>
|
||||
|
||||
Reference in New Issue
Block a user