We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9607959 commit ddf5f62Copy full SHA for ddf5f62
1 file changed
base/cvd/cuttlefish/common/libs/fs/shared_fd.h
@@ -14,16 +14,9 @@
14
* limitations under the License.
15
*/
16
17
-// TODO: We can't use std::shared_ptr on the older guests due to HALs.
18
-
19
#ifndef CUTTLEFISH_COMMON_COMMON_LIBS_FS_SHARED_FD_H_
20
#define CUTTLEFISH_COMMON_COMMON_LIBS_FS_SHARED_FD_H_
21
22
-#ifdef __linux__
23
-#include <linux/vm_sockets.h>
24
-#include <sys/epoll.h>
25
-#include <sys/eventfd.h>
26
-#endif
27
#include <errno.h>
28
#include <fcntl.h>
29
#include <string.h>
@@ -40,6 +33,12 @@
40
33
#include <termios.h>
41
34
#include <unistd.h>
42
35
36
+#ifdef __linux__
37
+#include <linux/vm_sockets.h>
38
+#include <sys/epoll.h>
39
+#include <sys/eventfd.h>
+#endif
+
43
#include <chrono>
44
#include <compare>
45
#include <memory>
0 commit comments