Stock sale

I sold stocks for the first time in 2021.  My end of year statement from my broker shows Form 8949 with varying amounts, but my 1099-B is $0.  Do I need to include the stock sale on my taxes since the 1099-B is $0?