openbsd-ports/editors/ht/patches/patch-io_htio_h
avsm e64892cbde add in an include to <sys/param.h> to ensure that MAXPATHLEN is
defined; otherwise, this program allocates too small a buffer for
filename operations.

margarida@ ok
2003-06-18 01:54:49 +00:00

12 lines
328 B
Plaintext

$OpenBSD: patch-io_htio_h,v 1.1 2003/06/18 01:54:49 avsm Exp $
--- io/htio.h.orig Tue Jun 17 02:11:15 2003
+++ io/htio.h Tue Jun 17 02:11:37 2003
@@ -25,6 +25,7 @@
// include sys/types.h _before_ dirent.h because Darwin needs this (!)
#include <sys/types.h>
+#include <sys/param.h>
#include <dirent.h>
#include <time.h>