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:

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

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:

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