ports/editors/mg/files/patch-def.h
Olivier Duchateau df975d029b - Update to 20150323 snapshot
- Add patches which replace reallocarray by realloc(3)

PR:		200682
Submitted by:	myself
Approved by:	darcsis (maintainer, timeout > 3 weeks)
2015-06-29 16:49:15 +00:00

11 lines
263 B
C

--- def.h.orig 2015-03-23 11:23:30 UTC
+++ def.h
@@ -13,6 +13,8 @@
#include "chrdef.h"
#include "ttydef.h"
+#include <sys/types.h>
+
/* necesarry to get asprintf & friends with glibc XXX doesn't work for some
* mysterious reason! */