Skip to content

Commit 8ec194e

Browse files
committed
Fix compiler warning: 'implicit-function-declaration'
Changes fix follwoing warnings: - tests/adaptation/security/ndn-lite-rng-posix-crypto-impl.c:31:18: error: implicit declaration of function ‘read’; did you mean ‘creat’?
1 parent 7645761 commit 8ec194e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/adaptation/security/ndn-lite-rng-posix-crypto-impl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <ndn-lite/security/ndn-lite-rng.h>
1313
#include <sys/stat.h>
1414
#include <fcntl.h>
15+
#include <unistd.h>
1516
#if defined(__APPLE__)
1617
#include <stdlib.h>
1718
#endif

0 commit comments

Comments
 (0)