Skip to content

Commit 68b8906

Browse files
committed
Fix included headers
1 parent c398dc8 commit 68b8906

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

examples/listkeys_ext.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
#define _POSIX_C_SOURCE 200809L
4040
#include <stdio.h>
4141
#include <unistd.h>
42+
#include <string.h>
4243
#include <libp11.h>
4344

4445
#define RANDOM_SOURCE "/dev/urandom"

src/util_uri.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,11 @@
2828

2929
#include "util.h"
3030
#include <stdio.h>
31-
#include <strings.h>
3231

3332
#if defined(_WIN32) || defined(_WIN64)
3433
#define strncasecmp _strnicmp
34+
#else
35+
#include <strings.h>
3536
#endif
3637

3738
/* switch to legacy call if get0 variant is not available */

0 commit comments

Comments
 (0)