OSDN Git Service

rild: missing include for sys/stat.h
authorMark Salyzyn <salyzyn@google.com>
Mon, 6 Apr 2015 20:51:43 +0000 (13:51 -0700)
committerMark Salyzyn <salyzyn@google.com>
Mon, 6 Apr 2015 20:51:43 +0000 (13:51 -0700)
rild.c gets sys/stat.h inherited from
private/android_filesystem_config.h it should
not rely on this in the future. The intent is
to move fs_config function into libcutils and
thus deprecate any need for sys/stat.h in this
include file.

Bug: 19908228
Change-Id: I5b10e9347aa9df8f0523a0ff00287655ca426d18

rild/rild.c

index 8d3fb6a..8587015 100644 (file)
@@ -31,6 +31,7 @@
 #include <cutils/sockets.h>
 #include <sys/capability.h>
 #include <sys/prctl.h>
+#include <sys/stat.h>
 
 #include <private/android_filesystem_config.h>
 #include "hardware/qemu_pipe.h"