aboutsummaryrefslogtreecommitdiff
path: root/src/main/extractor_ipc_gnu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/extractor_ipc_gnu.c')
-rw-r--r--src/main/extractor_ipc_gnu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/extractor_ipc_gnu.c b/src/main/extractor_ipc_gnu.c
index 06e4a1b..4bb5869 100644
--- a/src/main/extractor_ipc_gnu.c
+++ b/src/main/extractor_ipc_gnu.c
@@ -23,7 +23,6 @@
23 * @author Christian Grothoff 23 * @author Christian Grothoff
24 */ 24 */
25#include "platform.h" 25#include "platform.h"
26#include "plibc.h"
27#include "extractor.h" 26#include "extractor.h"
28#include "extractor_datasource.h" 27#include "extractor_datasource.h"
29#include "extractor_logging.h" 28#include "extractor_logging.h"
@@ -155,7 +154,7 @@ EXTRACTOR_IPC_shared_memory_create_ (size_t size)
155 "%sLE-%u-%u", 154 "%sLE-%u-%u",
156 tpath, 155 tpath,
157 getpid (), 156 getpid (),
158 (unsigned int) RANDOM ()); 157 (unsigned int) random ());
159 if (-1 == (shm->shm_id = shm_open (shm->shm_name, 158 if (-1 == (shm->shm_id = shm_open (shm->shm_name,
160 O_RDWR | O_CREAT, 159 O_RDWR | O_CREAT,
161 S_IRUSR | S_IWUSR))) 160 S_IRUSR | S_IWUSR)))