Skip to content

Commit

Permalink
error: 'CHAR_BIT' undeclared. fix compile failure with musl libc
Browse files Browse the repository at this point in the history
cgroup-systemd.c:84:49: error: 'CHAR_BIT' undeclared (first use in this function)
  • Loading branch information
alexminder committed Oct 26, 2024
1 parent 0cf2e6c commit 16a7687
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcrun/cgroup-systemd.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

#ifdef HAVE_SYSTEMD
# include <systemd/sd-bus.h>
# include <limits.h>

# define SYSTEMD_PROPERTY_PREFIX "org.systemd.property."

Expand Down

0 comments on commit 16a7687

Please sign in to comment.