From 6510e8af463a43ef686f17968e87f9c4b5cc868f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 3 Jan 2019 17:19:25 -0500 Subject: posix1e: Don't #include on FreeBSD The file is there by default, but deprecated and not a POSIX.1E implementation. While I'm at it, move the logic to posix1e.h so other files aren't burdened with an extra include. Fixes the other half of #40. --- parse.c | 1 + 1 file changed, 1 insertion(+) (limited to 'parse.c') diff --git a/parse.c b/parse.c index 28a9f88..b059fc4 100644 --- a/parse.c +++ b/parse.c @@ -22,6 +22,7 @@ #include "exec.h" #include "expr.h" #include "mtab.h" +#include "posix1e.h" #include "printf.h" #include "stat.h" #include "typo.h" -- cgit v1.2.3