This is so weird. I had this repo included as a submodule, and after removing it and re-adding it i2c.c now matches what you've shown above. I have no clue what I did wrong the first time but everything is correct now...
bad formatting above, "linux/i2c.h" and "linux/i2c-dev" respectively
i2c header error building on linux 7.1.9