void-packages/srcpkgs/minicom/patches/musl-sys_param_h.patch
2015-06-22 03:03:03 +02:00

12 lines
316 B
Diff

MAXNAMLEN is defined in sys/param.h
--- src/getsdir.c 2011-02-14 11:07:00.000000000 +0100
+++ src/getsdir.c 2015-06-22 02:47:36.263541750 +0200
@@ -28,6 +28,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/param.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>