Skip to content

Commit

Permalink
Include missing header files for int types
Browse files Browse the repository at this point in the history
  • Loading branch information
dsberry committed Oct 28, 2021
1 parent 1ba18e1 commit 86fdcc4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ f - AST_WRITE: Write an Object to a Channel
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <stdint.h>
#include <inttypes.h>

/* Module Variables. */
/* ================= */
Expand Down
1 change: 1 addition & 0 deletions src/channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
/* C header files. */
/* --------------- */
#include <stddef.h>
#include <stdint.h>

/* Macros */
/* ====== */
Expand Down
2 changes: 2 additions & 0 deletions src/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,8 @@ f - AST_MAPTYPE: Return the data type of a named entry in a map
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <stdint.h>
#include <inttypes.h>

/* Type Definitions */
/* ================ */
Expand Down
2 changes: 2 additions & 0 deletions src/xmlchan.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ f The XmlChan class does not define any new routines beyond those
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <inttypes.h>

/* Type Definitions */
/* ================ */
Expand Down
2 changes: 2 additions & 0 deletions src/yamlchan.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ static int nest_type[ 100 ];
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
#include <inttypes.h>

/* Include the libyaml header if it is available. Otherwise, define
local stubs for the selected definitions in yaml.h */
Expand Down

0 comments on commit 86fdcc4

Please sign in to comment.