aboutsummaryrefslogtreecommitdiffstats
path: root/src/ath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ath.h')
-rw-r--r--src/ath.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ath.h b/src/ath.h
index 7491f72e..26d0cb25 100644
--- a/src/ath.h
+++ b/src/ath.h
@@ -21,6 +21,9 @@
#ifndef ATH_H
#define ATH_H
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
#ifdef HAVE_W32_SYSTEM
/* fixme: Check how we did it in libgcrypt. */
struct msghdr { int dummy; };
@@ -68,6 +71,8 @@
typedef void *ath_mutex_t;
#define ATH_MUTEX_INITIALIZER 0;
+uintptr_t ath_self (void);
+
/* Functions for mutual exclusion. */
int ath_mutex_init (ath_mutex_t *mutex);
int ath_mutex_destroy (ath_mutex_t *mutex);