One pair of wings
Both of these flies (diptera), have a single pair of wings. Where the second pair of wings would have been (hind wings) is a pair of halteres, clublike structures which function as gyroscopic instruments and keep the insect stable.