about summary refs log tree commit diff
path: root/src/libnm-systemd-shared/src/fundamental/string-util-fundamental.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libnm-systemd-shared/src/fundamental/string-util-fundamental.h')
-rw-r--r--src/libnm-systemd-shared/src/fundamental/string-util-fundamental.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libnm-systemd-shared/src/fundamental/string-util-fundamental.h b/src/libnm-systemd-shared/src/fundamental/string-util-fundamental.h
index 419f1cc3..a9638b4d 100644
--- a/src/libnm-systemd-shared/src/fundamental/string-util-fundamental.h
+++ b/src/libnm-systemd-shared/src/fundamental/string-util-fundamental.h
@@ -8,6 +8,7 @@
 #  include <string.h>
 #endif
 
+#include "assert-fundamental.h"
 #include "macro-fundamental.h"
 
 #if SD_BOOT
@@ -16,6 +17,8 @@
 #  define strncmp strncmp16
 #  define strcasecmp strcasecmp16
 #  define strncasecmp strncasecmp16
+#  define strspn strspn16
+#  define strcspn strcspn16
 #  define STR_C(str)       (L ## str)
 typedef char16_t sd_char;
 #else