void-packages/srcpkgs/nmon/patches/musl-string-macro.patch

14 lines
356 B
Diff

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