summaryrefslogtreecommitdiff
path: root/wm/piewm/patches/patch-iconmgr_c
diff options
context:
space:
mode:
Diffstat (limited to 'wm/piewm/patches/patch-iconmgr_c')
-rw-r--r--wm/piewm/patches/patch-iconmgr_c24
1 files changed, 24 insertions, 0 deletions
diff --git a/wm/piewm/patches/patch-iconmgr_c b/wm/piewm/patches/patch-iconmgr_c
new file mode 100644
index 00000000000..8323e361e0b
--- /dev/null
+++ b/wm/piewm/patches/patch-iconmgr_c
@@ -0,0 +1,24 @@
+$NetBSD: patch-iconmgr_c,v 1.1 2012/05/14 08:08:39 dholland Exp $
+
+- Use standard headers.
+- Don't declare own strcmp.
+
+--- iconmgr.c~ 1998-01-08 06:02:45.000000000 +0000
++++ iconmgr.c
+@@ -31,6 +31,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include "twm.h"
+ #include "util.h"
+ #include "list.h"
+@@ -43,8 +44,6 @@
+ #include <X11/Xos.h>
+ #include <X11/Xmu/CharSet.h>
+
+-int strcmp();
+-
+ int iconmgr_textx = siconify_width+11;
+ WList *Active = NULL;
+ WList *DownIconManager = NULL;