void-packages/srcpkgs/nwipe/patches/musl.patch
2019-11-18 22:21:26 +01:00

16 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"