Message ID | 20180307165527.5221-1-christian.storm@siemens.com |
---|---|
State | Accepted |
Headers | show |
Series | IPC: Add missing socket.h include | expand |
On 07/03/2018 17:55, Christian Storm wrote: > AF_LOCAL, SOCK_STREAM, connect(), and socket() are missing. > > Signed-off-by: Thomas Zander <thomas.zander@siemens.com> > Signed-off-by: Christian Storm <christian.storm@siemens.com> > --- > ipc/network_ipc.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/ipc/network_ipc.c b/ipc/network_ipc.c > index 4543092..37bb124 100644 > --- a/ipc/network_ipc.c > +++ b/ipc/network_ipc.c > @@ -16,6 +16,7 @@ > #include <sys/ioctl.h> > #include <fcntl.h> > #include <sys/types.h> > +#include <sys/socket.h> > #include <sys/un.h> > #include <arpa/inet.h> > #include <netinet/in.h> > Applied to -master, thanks ! Best regards, Stefano Babic
diff --git a/ipc/network_ipc.c b/ipc/network_ipc.c index 4543092..37bb124 100644 --- a/ipc/network_ipc.c +++ b/ipc/network_ipc.c @@ -16,6 +16,7 @@ #include <sys/ioctl.h> #include <fcntl.h> #include <sys/types.h> +#include <sys/socket.h> #include <sys/un.h> #include <arpa/inet.h> #include <netinet/in.h>