Skip to content
Snippets Groups Projects
Commit fee1dedd authored by deuce's avatar deuce
Browse files

Hack around Solaris' lack of u_int32_t

parent 8bb6303d
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,10 @@
#include <pthread.h>
#include "gen_defs.h"
#if defined(__solaris__)
#include <xpsem.h> /* u_int32_t */
#endif
/* Opaque type definition. */
struct xpevent;
typedef struct xpevent *xpevent_t;
......
......@@ -54,7 +54,7 @@ typedef struct xp_sem *xp_sem_t;
#define SEM_FAILED ((xp_sem_t *)0)
#define SEM_VALUE_MAX UINT_MAX
#ifdef __solaris__
#if defined(__solaris__)
typedef unsigned int u_int32_t;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment