summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2017-07-17 21:08:15 +0200
committerGravatar Nikias Bassen2017-07-17 21:08:15 +0200
commit8a5545de25d243955c68fb8d6c1bd9ef856b8e8a (patch)
treede81ef2899cc4a0e719065d334d9776550eaca4a /src
parent35e5d48f29ae03b2b9686109e4ed9ab8b9677ce8 (diff)
downloadusbmuxd-8a5545de25d243955c68fb8d6c1bd9ef856b8e8a.tar.gz
usbmuxd-8a5545de25d243955c68fb8d6c1bd9ef856b8e8a.tar.bz2
utils: Use autoconf to check for availability of clock_gettime()
Diffstat (limited to 'src')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index 67860b3..28664d4 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -302,7 +302,7 @@ int plist_write_to_filename(plist_t plist, const char *filename, enum plist_form
return 1;
}
-#ifdef __APPLE__
+#ifndef HAVE_CLOCK_GETTIME
typedef int clockid_t;
#define CLOCK_MONOTONIC 1