openbsd-ports/x11/olvwm/patches/patch-gettext_h
ian 3a45bdd277 Minimal unbreak compilation (use standard header files instead of
mis-declaring functions).  Needs much more love later.  Discussed
with espie@ and matthieu@ (couple of weeks ago). "sure" espie@
2010-08-02 19:47:32 +00:00

16 lines
393 B
Plaintext

$OpenBSD: patch-gettext_h,v 1.1 2010/08/02 19:47:32 ian Exp $
--- gettext.h.orig Sat Jul 10 13:54:47 2010
+++ gettext.h Sat Jul 10 13:56:14 2010
@@ -27,8 +27,11 @@
#include <errno.h>
#include <locale.h>
#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
#include <sys/types.h>
#include <sys/param.h>
+#include <sys/mman.h>
struct domain_binding {
char *domain_name;