void-packages/srcpkgs/gsimplecal-gtk2/patches/musl.patch

20 lines
417 B
Diff
Raw Normal View History

--- src/Unique.cpp.orig 2016-04-24 08:08:43.921536576 +0200
+++ src/Unique.cpp 2016-04-24 08:09:18.615896283 +0200
@@ -1,10 +1,16 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <limits.h>
#include <signal.h>
#include <sys/sem.h>
+#ifdef HAVE_SYSCTL_H
#include <sys/sysctl.h>
+#endif
#include <sys/types.h>
#include "Unique.hpp"