You need to give more infomation about what the aircraft is attempting to do before an answer can be given.
For any constant airspeed, the winds will not affect the required thrust or fuel flow.
But for any constant groundspeed the situation will be different. A headwind reduces groundspeed at any given airspeed. So to maintain constant ground speed you will need more airspeed. Assuming that you are above Vmd this will require more thrust and more fuel flow.