Browse Source

qnx: shm: Include right header

Change-Id: I40287828155d7b7530d8760724b3fb3b06ae15b7
Signed-off-by: Timo Wischer <twischer@de.adit-jv.com>
pull/545/head
Timo Wischer Adam Miartus 6 years ago
parent
commit
af34af8b2f
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      common/shm.c

+ 6
- 1
common/shm.c View File

@@ -49,11 +49,16 @@
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/shm.h>
#include <sys/sem.h>
#include <stdlib.h>
#include "promiscuous.h"

#ifdef __QNXNTO__
#include <sys/mman.h>
#else
#include <sys/shm.h>
#endif

#endif

#include "shm.h"


Loading…
Cancel
Save