Skip to content

Commit

Permalink
Don't forget to include the type information for <cloudabi_syscalls.h>.
Browse files Browse the repository at this point in the history
  • Loading branch information
EdSchouten committed Jan 10, 2018
1 parent ba5cca8 commit 2b938e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ def open_and_format(filename):
with redirect_stdout(f):
CSyscallsGenerator(
naming=CNaming('cloudabi_'),
header_guard='CLOUDABI_SYSCALLS_H').generate_abi(abi)
header_guard='CLOUDABI_SYSCALLS_H',
preamble='#include "cloudabi_types.h"\n').generate_abi(abi)

with open('headers/cloudabi_syscalls_info.h', 'w') as f:
with redirect_stdout(f):
Expand Down
2 changes: 2 additions & 0 deletions headers/cloudabi_syscalls.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
#ifndef CLOUDABI_SYSCALLS_H
#define CLOUDABI_SYSCALLS_H

#include "cloudabi_types.h"

cloudabi_errno_t cloudabi_sys_clock_res_get(cloudabi_clockid_t clock_id,
cloudabi_timestamp_t *resolution);

Expand Down

0 comments on commit 2b938e7

Please sign in to comment.