void-packages/srcpkgs/ell/patches/fix-musl.patch

25 lines
575 B
Diff
Raw Normal View History

2018-10-20 23:04:35 +02:00
From 1f80c66080ff9e934f22be7472269e97af6afa0b Mon Sep 17 00:00:00 2001
From: maxice8 <thinkabit.ukim@gmail.com>
Date: Sat, 20 Oct 2018 17:49:33 -0300
Subject: [PATCH] ell/dir.c: include limits.h for NAME_MAX
fixes compilation on musl libc systems that are stricter
---
ell/dir.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/ell/dir.c b/ell/dir.c
index d1870c8..7917664 100644
--- ell/dir.c
+++ ell/dir.c
@@ -27,6 +27,7 @@
#include <unistd.h>
#include <dirent.h>
#include <sys/inotify.h>
+#include <limits.h>
#include "private.h"
#include "queue.h"
--
2.19.1