Message ID | 1413567312-18214-1-git-send-email-mike.holmes@linaro.org |
---|---|
State | Accepted |
Commit | 61cdeff1c31dbbaea9e1c595a8f814085e3d043f |
Headers | show |
merged! Maxim. On 10/17/2014 09:35 PM, Mike Holmes wrote: > Fix undeclared use of flags S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH > > Signed-off-by: Mike Holmes <mike.holmes@linaro.org> > --- > platform/linux-generic/odp_shared_memory.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/platform/linux-generic/odp_shared_memory.c b/platform/linux-generic/odp_shared_memory.c > index 1898a34..60a868b 100644 > --- a/platform/linux-generic/odp_shared_memory.c > +++ b/platform/linux-generic/odp_shared_memory.c > @@ -13,6 +13,7 @@ > > #include <unistd.h> > #include <sys/mman.h> > +#include <sys/stat.h> > #include <asm/mman.h> > #include <fcntl.h> >
diff --git a/platform/linux-generic/odp_shared_memory.c b/platform/linux-generic/odp_shared_memory.c index 1898a34..60a868b 100644 --- a/platform/linux-generic/odp_shared_memory.c +++ b/platform/linux-generic/odp_shared_memory.c @@ -13,6 +13,7 @@ #include <unistd.h> #include <sys/mman.h> +#include <sys/stat.h> #include <asm/mman.h> #include <fcntl.h>
Fix undeclared use of flags S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH Signed-off-by: Mike Holmes <mike.holmes@linaro.org> --- platform/linux-generic/odp_shared_memory.c | 1 + 1 file changed, 1 insertion(+)