summaryrefslogtreecommitdiff
path: root/Linux/power
diff options
context:
space:
mode:
authorforsyth <forsyth@vitanuova.com>2011-06-29 15:15:08 +0100
committerforsyth <forsyth@vitanuova.com>2011-06-29 15:15:08 +0100
commit6b2e32351192dd10dd3d671e2b61608c692507e6 (patch)
tree82f17976ee34dd2ad73477efdefccb46d6f85ec2 /Linux/power
parentc594916b7a30516eff15698d7cc1f8e440a55a3d (diff)
20110629-1515
Diffstat (limited to 'Linux/power')
-rw-r--r--Linux/power/include/lib9.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Linux/power/include/lib9.h b/Linux/power/include/lib9.h
index de93d34e..8bd3bf74 100644
--- a/Linux/power/include/lib9.h
+++ b/Linux/power/include/lib9.h
@@ -6,6 +6,9 @@
#define _LARGEFILE_SOURCE 1
#define _LARGEFILE64_SOURCE 1
#define _FILE_OFFSET_BITS 64
+#ifdef USE_PTHREADS
+#define _REENTRANT 1
+#endif
#include <features.h>
#include <sys/types.h>
#include <stdlib.h>
@@ -257,7 +260,7 @@ extern vlong osnsec(void);
extern void _assert(char*);
extern double charstod(int(*)(void*), void*);
extern char* cleanname(char*);
-extern ulong getcallerpc(void*);
+extern uintptr getcallerpc(void*);
extern int getfields(char*, char**, int, int, char*);
extern char* getuser(void);
extern char* getwd(char*, int);