freebsd-ports/devel/omake/files/patch-src_libmojave-external_cutil_fam__pseudo.h
John Marino 130be520d3 ocaml update 3/4: devel/omake major tweaks, stage support
Two dozen patches were brought in from NetBSD via dports , and this port
was staged too. Most of the patches are upstream fixes as Omake has been
updated in repo but without a new release.  In any case an update was
required because it broke after Ocaml was updated to version 4.00.

Urged by: portmgr (bapt)
2014-03-26 17:53:01 +00:00

15 lines
400 B
C

$NetBSD: patch-src_libmojave-external_cutil_fam__pseudo.h,v 1.1 2012/11/16 00:46:04 joerg Exp $
--- src/libmojave-external/cutil/fam_pseudo.h.orig 2012-11-08 22:16:13.000000000 +0000
+++ src/libmojave-external/cutil/fam_pseudo.h
@@ -43,7 +43,10 @@
/*
* Maximum file name length.
*/
+#include <limits.h>
+#ifndef NAME_MAX
#define NAME_MAX 1024
+#endif
/*
* Possible events.