summaryrefslogtreecommitdiffstats
path: root/include/linux-condvar.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux-condvar.h')
-rw-r--r--include/linux-condvar.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux-condvar.h b/include/linux-condvar.h
index e4a1779a5..8f5cb922a 100644
--- a/include/linux-condvar.h
+++ b/include/linux-condvar.h
@@ -1,10 +1,11 @@
-#ifndef _LINUX_CONDVAR_H
-#define _LINUX_CONDVAR_H
+#ifndef _SOLARIS_CONDVAR_H
+#define _SOLARIS_CONDVAR_H
#ifdef __cplusplus
extern "C" {
#endif
+#include <linux/module.h>
#include <linux/wait.h>
/* The kcondvar_t struct is protected by mutex taken externally before
@@ -198,4 +199,4 @@ cv_broadcast(kcondvar_t *cvp)
if (atomic_read(&cvp->cv_waiters) > 0)
wake_up_all(&cvp->cv_event);
}
-#endif /* _LINUX_CONDVAR_H */
+#endif /* _SOLARIS_CONDVAR_H */