aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editor.c1
-rw-r--r--text.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/editor.c b/editor.c
index e0f27cf..367c40b 100644
--- a/editor.c
+++ b/editor.c
@@ -1,3 +1,4 @@
+#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#include <stdlib.h>
#include <string.h>
diff --git a/text.c b/text.c
index 58ded1d..e613ccb 100644
--- a/text.c
+++ b/text.c
@@ -13,6 +13,7 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#define _DEFAULT_SOURCE
#define _BSD_SOURCE
#include <unistd.h>
#include <stdio.h>