From d0b409f13ee2ac0ce4cb45246b26b948f1442548 Mon Sep 17 00:00:00 2001
From: Leorize <alaviss@users.noreply.github.com>
Date: Fri, 12 Jan 2018 12:01:57 +0700
Subject: zenc: don't include glibc headers on Haiku


diff --git a/src/zenc.c b/src/zenc.c
index 736819c..15ea636 100644
--- a/src/zenc.c
+++ b/src/zenc.c
@@ -32,7 +32,9 @@
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/mman.h>
+#ifndef __HAIKU__
 #include <sys/user.h>
+#endif
 #include <fcntl.h>
 #include "slz.h"
 
-- 
2.15.0

