Skip to content

Commit

Permalink
Add missing headers
Browse files Browse the repository at this point in the history
- dup() is defined in unistd.h
- strcmp() is defined in cstring
- std::unique_ptr<> is defined in memory
  • Loading branch information
mdehling committed Mar 16, 2024
1 parent d5ec061 commit 8bba5aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/gz.l
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <cstdio>
#include <streambuf>
#include <cstring>
#include <unistd.h>
#include <zlib.h>

#ifndef Z_BUF_LEN
Expand Down
2 changes: 2 additions & 0 deletions examples/lua.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
#include <cstdlib>
#include <cstdio>
#include <cstdint>
#include <cstring>
#include <memory>
#include <string>
#include <set>
#include <stack>
Expand Down
1 change: 1 addition & 0 deletions examples/minic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <cstdlib>
#include <cstdio>
#include <cstdint>
#include <cstring>
#include <string>
#include <map>
#include <set>
Expand Down

0 comments on commit 8bba5aa

Please sign in to comment.