Particle pi camera tutorial problems

I’ve some problems with Raspberry Pi and Particle Camera. When I try to compile the code I’ve some problems. The libraries inside the code is ws2811.h, but after the library ws2811.h I’ve putted inside the code others library. But after all the installed libraries the particle Build give me an error:

/workspace/rpihw.h:36:5: error: ‘uint32_t’ does not name a type
uint32_t type;
^
This is the tutorials:
https://docs.particle.io/tutorials/projects/particle-pi-security-camera/

Can I download the github firmware code and putting in the Particle Build?

@masteruan
Have you got the following includes at the start of your sketch?

#include "application.h"
#include "stdarg.h"

#include <unistd.h>
#include <sys/types.h>
#include <errno.h>
#include <stdio.h>
#include <sys/wait.h>
#include <stdlib.h>

@armor thanks for answer. I want try only the neopixel ring.
This is the code:
https://go.particle.io/shared_apps/58f7d4af7239aacc3b000524

Can I put all the firmware folder of github tutorial in my Particle Build tool, and upload the firmware to the board?