summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/ipcp.h')
-rw-r--r--src/ipcpd/ipcp.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ipcpd/ipcp.h b/src/ipcpd/ipcp.h
index 63f9677a..1e9e9763 100644
--- a/src/ipcpd/ipcp.h
+++ b/src/ipcpd/ipcp.h
@@ -23,7 +23,8 @@
#ifndef IPCPD_IPCP_H
#define IPCPD_IPCP_H
-#include <ouroboros/rw_lock.h>
+#include <ouroboros/config.h>
+#include <pthread.h>
#include "ipcp-ops.h"
#include "ipcp-data.h"
@@ -41,7 +42,7 @@ struct ipcp {
int irmd_fd;
enum ipcp_state state;
- rw_lock_t state_lock;
+ pthread_rwlock_t state_lock;
};
struct ipcp * ipcp_instance_create();