HX711 library problem

I was using the HX711 library, and since the new library manager was released, its not working, can someone help me ? there are some errors when the library compile:

lib/HX711ADC/src/HX711ADC.h:34:17: error: ‘byte’ has not been declared
void set_gain(byte gain = 128);

lib/HX711ADC/src/HX711ADC.h:40:21: error: ‘byte’ has not been declared
long read_average(byte times = 10);

lib/HX711ADC/src/HX711ADC.h:43:20: error: ‘byte’ has not been declared
double get_value(byte times = 1);

lib/HX711ADC/src/HX711ADC.h:12:3: error: ‘byte’ does not name a type
byte PD_SCK; // Power Down and Serial Clock Input Pin

lib/HX711ADC/src/HX711ADC.h:13:3: error: ‘byte’ does not name a type
byte DOUT; // Serial Data Output Pin

lib/HX711ADC/src/HX711ADC.h:14:3: error: ‘byte’ does not name a type
byte GAIN; // amplification factor

lib/HX711ADC/src/HX711ADC.h:50:13: error: ‘byte’ has not been declared
void tare(byte times = 10);
lib/HX711ADC/src/HX711ADC.h:47:19: error: ‘byte’ has not been declared
float get_units(byte times = 1);

i tried first in Particle dev, and now in the WEB IDE, and its not working

Try to add #include <Particle.h> before the include statement for the library.

But I found some issues with reliability of that lib, so I have slightly tweaked it for my own purposes.

thanks, was easier than i thought, i will tried in Particle dev, but right now it’s working in WEB IDE