summaryrefslogtreecommitdiff
path: root/src/basic/device-nodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/device-nodes.h')
-rw-r--r--src/basic/device-nodes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/basic/device-nodes.h b/src/basic/device-nodes.h
index 7db81f3d52..9669c86970 100644
--- a/src/basic/device-nodes.h
+++ b/src/basic/device-nodes.h
@@ -21,6 +21,7 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <stddef.h>
#include <sys/types.h>
int encode_devnode_name(const char *str, char *str_enc, size_t len);