configure.ac: Fix mysql configuration
[paraslash.git] / ipc.c
diff --git a/ipc.c b/ipc.c
index 1d9112d77e30e9ba9f02421e001fc379893038d2..49d2d96515dbf49bc5a9f7ace0786d5f68acc936 100644 (file)
--- a/ipc.c
+++ b/ipc.c
@@ -23,6 +23,7 @@
 #include "ipc.h"
 #include <sys/ipc.h>
 #include <sys/shm.h>
+#include <sys/sem.h>
 
 /** abort if semget() failed that many times */
 #define MAX_SEMOP_RETRIES 500
@@ -44,7 +45,7 @@ int mutex_new(void)
 /**
  * destroy a mutex
  *
- * \param, id the identifier of the mutex to be destroyed
+ * \param id the identifier of the mutex to be destroyed
  *
  * \returns Positive on success, -E_SEM_REMOVE on errors.
  *