void-packages/srcpkgs/nwipe/patches/musl.patch

17 lines
336 B
Diff

diff --git src/nwipe.c src/nwipe.c
index c7586fd..ec2eb1d 100644
--- src/nwipe.c
+++ src/nwipe.c
@@ -26,9 +26,10 @@
#include <time.h>
#include <signal.h>
#include <pthread.h>
+#if defined(__GLIBC__)
#include <bits/pthreadtypes.h>
#include <bits/sigthread.h>
-
+#endif
#include "nwipe.h"
#include "context.h"
#include "method.h"