void-packages/srcpkgs/nmon/patches/musl-string-macro.patch
2017-04-08 20:20:55 +02:00

13 lines
356 B
Diff

--- lmon16f.c.orig 2016-03-04 18:41:57.788556435 +0100
+++ lmon16f.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;