Added missing #include <sys/ioctl.h> 

Without it during build I got this error:
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int getPmemTotalSize(int, size_t*)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:50: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:50: error: '_IOW' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int connectPmem(int, int)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:66: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:66: error: '_IOW' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int mapSubRegion(int, int, size_t)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:71: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:71: error: '_IOW' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int unmapSubRegion(int, int, size_t)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:76: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:76: error: '_IOW' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int alignPmem(int, size_t, int)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:83: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:83: error: '_IOW' was not declared in this scope
hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int cleanPmem(void*, size_t, int, int)':
hardware/qcom/display/libgralloc/pmemalloc.cpp:91: error: expected primary-expression before 'unsigned'
hardware/qcom/display/libgralloc/pmemalloc.cpp:91: error: '_IOW' was not declared in this scope
make: *** [out/target/product/callisto/obj/SHARED_LIBRARIES/libmemalloc_intermediates/pmemalloc.o] Błąd 1