You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mosquitto/debian/patches/hurd-errno.patch

15 lines
329 B
Diff

Description: Fix FTBFS on Hurd (bug: 424571)
Author: Roger Light <roger@atchoo.org>
Forwarded: yes
--- a/config.h
+++ b/config.h
@@ -23,6 +23,8 @@
#define strerror_r(e, b, l) strerror_s(b, l, e)
#endif
+#include <errno.h>
+
#define uthash_malloc(sz) mosquitto__malloc(sz)
#define uthash_free(ptr,sz) mosquitto__free(ptr)