Skip to content

Commit

Permalink
examples : add missing header file (#198)
Browse files Browse the repository at this point in the history
Some of the examples are missing the cstring header which is needed for
memcpy().
  • Loading branch information
rgerganov committed May 26, 2023
1 parent 73ad593 commit 3d3e22f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/mnist/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include <cmath>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <fstream>
#include <string>
Expand Down
1 change: 1 addition & 0 deletions examples/mpt/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <cmath>
#include <cstddef>
#include <cstdio>
#include <cstring>
#include <fstream>
#include <cinttypes>
#include <map>
Expand Down

0 comments on commit 3d3e22f

Please sign in to comment.