Skip to content

Commit

Permalink
Use "buffer.h" instead of <openct/buffer.h>
Browse files Browse the repository at this point in the history
buffer.c should include buffer.h directly from current directory instead
of including it from system directory.

Fixes a "File not found" issue when I was importing the source code to
my Xcode project.
  • Loading branch information
godfreychung authored and LudovicRousseau committed Aug 27, 2020
1 parent 183c09c commit 5e33ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openct/buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include <string.h>
#endif

#include <openct/buffer.h>
#include "buffer.h"

void
ct_buf_init(ct_buf_t *bp, void *mem, size_t len)
Expand Down

0 comments on commit 5e33ea7

Please sign in to comment.