Skip to content

Commit

Permalink
Add missing <sys/sysmacros.h> include
Browse files Browse the repository at this point in the history
Was throwing:

call to undeclared function 'makedev'; ISO C99 and later do not support
implicit function declarations
  • Loading branch information
PeterBowman committed Oct 17, 2024
1 parent 1f36d0b commit d7ffcb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/YarpPlugins/RaspiOnePwmMotorController/mailbox.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>

#include "mailbox.h"

Expand Down

0 comments on commit d7ffcb7

Please sign in to comment.