diff options
Diffstat (limited to 'x11/libhelp/files/patch-ai')
-rw-r--r-- | x11/libhelp/files/patch-ai | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/x11/libhelp/files/patch-ai b/x11/libhelp/files/patch-ai new file mode 100644 index 000000000000..a2b2cb6e5719 --- /dev/null +++ b/x11/libhelp/files/patch-ai @@ -0,0 +1,23 @@ +diff -cb ../../../libhelp-1.8.1/libButtFace/resource.c libButtFace/resource.c +*** ../../../libhelp-1.8.1/libButtFace/resource.c Fri Feb 24 13:28:28 1995 +--- libButtFace/resource.c Mon Oct 20 19:00:11 1997 +*************** +*** 27,33 **** + */ + + #include <string.h> +! #include <malloc.h> + #include <ctype.h> + #include <X11/StringDefs.h> + +--- 27,37 ---- + */ + + #include <string.h> +! #ifdef __FreeBSD__ +! # include <stdlib.h> +! #else +! # include <malloc.h> +! #endif + #include <ctype.h> + #include <X11/StringDefs.h> |