From c81c6c13b6f6105b16fa5d2d0af41b91bbafa35e Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 27 Jan 2019 21:16:53 +0530 Subject: [PATCH] ... --- src/calibre/utils/speedup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/utils/speedup.c b/src/calibre/utils/speedup.c index 70a691e369..850c1f11c6 100644 --- a/src/calibre/utils/speedup.c +++ b/src/calibre/utils/speedup.c @@ -493,7 +493,6 @@ speedup_iso_8601(PyObject *self, PyObject *args) { #ifndef _MSC_VER #include -#endif #if defined(__FreeBSD__) || defined(__OpenBSD__) #define FREEBSD_SET_NAME #endif @@ -507,6 +506,7 @@ void pthread_set_name_np(pthread_t tid, const char *name); // Need _GNU_SOURCE for pthread_setname_np on linux and that causes other issues on systems with old glibc extern int pthread_setname_np(pthread_t, const char *name); #endif +#endif static PyObject*