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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/basic/device-nodes.h b/src/basic/device-nodes.h
index 04ba4897e5..7db81f3d52 100644
--- a/src/basic/device-nodes.h
+++ b/src/basic/device-nodes.h
@@ -21,5 +21,7 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <sys/types.h>
+
int encode_devnode_name(const char *str, char *str_enc, size_t len);
int whitelisted_char_for_devnode(char c, const char *additional);