void-packages/srcpkgs/nmon/patches/musl-string-macro.patch
2016-03-05 11:14:26 +01:00

13 lines
356 B
Diff

--- lmon16d.c.orig 2016-03-04 18:41:57.788556435 +0100
+++ lmon16d.c 2016-03-04 22:23:27.977248021 +0100
@@ -58,6 +58,10 @@
#include <sys/socket.h>
#include <sys/wait.h>
+#ifndef __STRING
+#define __STRING(x) #x
+#endif
+
/* Windows moved here so they can be cleared when the screen mode changes */
WINDOW *padwelcome = NULL;
WINDOW *padtop = NULL;