Skip to content

Commit

Permalink
Fix includes
Browse files Browse the repository at this point in the history
  • Loading branch information
esteve committed Oct 19, 2020
1 parent a5962bd commit e3cc833
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/zenoh/iobuf.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#ifndef ZENOH_C_IOBUF_H_
#define ZENOH_C_IOBUF_H_

#include <stdint.h>
#include "zenoh/types.h"

typedef struct
Expand Down
1 change: 1 addition & 0 deletions include/zenoh/net/codec.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#ifndef ZENOH_C_NET_CODEC_H
#define ZENOH_C_NET_CODEC_H

#include <stdint.h>
#include "zenoh/codec.h"
#include "zenoh/net/result.h"
#include "zenoh/net/types.h"
Expand Down
1 change: 1 addition & 0 deletions include/zenoh/net/private/msg.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#ifndef ZENOH_C_NET_MSG_H
#define ZENOH_C_NET_MSG_H

#include <stdint.h>
#include "zenoh/net/private/types.h"

// NOTE: 16 bits (2 bytes) may be prepended to the serialized message indicating the total length
Expand Down
1 change: 1 addition & 0 deletions include/zenoh/net/private/msgcodec.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#ifndef ZENOH_C_NET_MSGCODEC_H
#define ZENOH_C_NET_MSGCODEC_H

#include <stdint.h>
#include "zenoh/net/codec.h"
#include "zenoh/net/result.h"
#include "zenoh/net/types.h"
Expand Down
1 change: 1 addition & 0 deletions include/zenoh/net/private/net.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#define ZENOH_C_NET_H

// @TODO: remote the platform-specific include
#include <stdint.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <ifaddrs.h>
Expand Down
1 change: 1 addition & 0 deletions include/zenoh/net/session.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#ifndef ZENOH_C_NET_SESSION_H
#define ZENOH_C_NET_SESSION_H

#include <stdint.h>
#include "zenoh/net/types.h"

/*------------------ Scout/Open/Close ------------------*/
Expand Down
1 change: 1 addition & 0 deletions include/zenoh/net/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#ifndef ZENOH_C_NET_TYPES_H_
#define ZENOH_C_NET_TYPES_H_

#include <stdint.h>
#include <string.h>
#include "zenoh/iobuf.h"
#include "zenoh/net/result.h"
Expand Down
1 change: 1 addition & 0 deletions src/codec.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* ADLINK zenoh team, <[email protected]>
*/

#include <stdint.h>
#include <stdio.h>
#include "zenoh/codec.h"
#include "zenoh/net/codec.h"
Expand Down
1 change: 1 addition & 0 deletions src/iobuf.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* ADLINK zenoh team, <[email protected]>
*/

#include <stdint.h>
#include <string.h>
#include <assert.h>
#include "zenoh/iobuf.h"
Expand Down
1 change: 1 addition & 0 deletions src/net/msgcodec.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* ADLINK zenoh team, <[email protected]>
*/

#include <stdint.h>
#include <stdio.h>
#include "zenoh/private/logging.h"
#include "zenoh/net/private/codec.h"
Expand Down
1 change: 1 addition & 0 deletions src/net/recv_loop.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* ADLINK zenoh team, <[email protected]>
*/

#include <stdint.h>
#include <stdio.h>
#include <stdatomic.h>
#include "zenoh/net/recv_loop.h"
Expand Down
1 change: 1 addition & 0 deletions src/net/session.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* ADLINK zenoh team, <[email protected]>
*/

#include <stdint.h>
#include <stdio.h>
#include <unistd.h>
#include "zenoh/net/lease_loop.h"
Expand Down
1 change: 1 addition & 0 deletions src/net/unix/net.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
#include <arpa/inet.h>
#include <errno.h>
#include <netdb.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
Expand Down
1 change: 1 addition & 0 deletions test/zn_msgcodec_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* ADLINK zenoh team, <[email protected]>
*/
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <stddef.h>
#include <time.h>
Expand Down

0 comments on commit e3cc833

Please sign in to comment.