mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
fix up files in low-level commands 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 and getline
|
#define _POSIX_C_SOURCE 200809L // for strdup and getline
|
||||||
|
#define _GNU_SOURCE // for strdup on old systems
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#define _POSIX_C_SOURCE 200809L // for strdup
|
#define _POSIX_C_SOURCE 200809L // for strdup
|
||||||
|
#define _GNU_SOURCE // for strdup on old systems
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user