Skip to content

Instantly share code, notes, and snippets.

@tehmaze
Created March 10, 2017 22:12
Show Gist options
  • Save tehmaze/321422c30d29e4f1629d8762c4d08818 to your computer and use it in GitHub Desktop.
Save tehmaze/321422c30d29e4f1629d8762c4d08818 to your computer and use it in GitHub Desktop.
diff -ur bladeRF-2016.06.orig/host/common/include/osx/clock_gettime.h bladeRF-2016.06/host/common/include/osx/clock_gettime.h
--- bladeRF-2016.06.orig/host/common/include/osx/clock_gettime.h 2016-06-29 23:24:49.000000000 +0200
+++ bladeRF-2016.06/host/common/include/osx/clock_gettime.h 2017-03-10 23:11:37.000000000 +0100
@@ -35,11 +35,6 @@
# error "This file is intended for use with OSX systems only."
#endif
-typedef int clockid_t;
-#define CLOCK_REALTIME 0
-
-int clock_gettime(clockid_t clk_id, struct timespec *tp);
-
#ifdef __cplusplus
} /* extern "C" */
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment