Added stdint header to ring buffer