summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/posixmodule.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 04c17f0..66cb41a 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -39,6 +39,11 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define DO_PG
#endif
+#ifdef _NEXT_SOURCE
+#define mode_t int
+#define NO_UNAME
+#endif
+
#include <signal.h>
#include <string.h>
#include <setjmp.h>