fix up files in low-level commands for mfshell so that strdup is available on old systems

This commit is contained in:
root
2014-12-29 23:32:19 -06:00
parent 9310b1fa69
commit 5d7107ab06
2 changed files with 2 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
*/
#define _POSIX_C_SOURCE 200809L // for strdup and getline
#define _GNU_SOURCE // for strdup on old systems
#include <stddef.h>
#include <stdio.h>

View File

@@ -18,6 +18,7 @@
*/
#define _POSIX_C_SOURCE 200809L // for strdup
#define _GNU_SOURCE // for strdup on old systems
#include <stdio.h>
#include <stdlib.h>