Skip to content

Commit a01540e

Browse files
malfetfacebook-github-bot
authored andcommitted
Make tcp/device.cc compileable by gcc-12 (#342)
Summary: Should fix pytorch/pytorch#86542 one commit is updated on PyTorch side Pull Request resolved: #342 Reviewed By: atalman Differential Revision: D40253443 Pulled By: malfet fbshipit-source-id: f90662662064bed3f81fa11f307c964480e8addf
1 parent e6d509b commit a01540e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gloo/transport/tcp/device.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@
88

99
#include "gloo/transport/tcp/device.h"
1010

11+
#include <array>
1112
#include <ifaddrs.h>
1213
#include <netdb.h>
1314
#include <netinet/in.h>
1415
#include <string.h>
1516

17+
1618
#include "gloo/common/linux.h"
1719
#include "gloo/common/logging.h"
1820
#include "gloo/common/error.h"

0 commit comments

Comments
 (0)