I wouldn't say the ML and SML are good friends in any of these, but in the first two they can at least be considered allies for part of the drama:
- Sound of the Desert - the ML falls for the FL pretty much as soon as he meets her, but I can't remember exactly how much time passes before she accepts his feelings; I think it was at least a year though
- The Imperial Doctress - the FL is loyal to the ML before the end of the drama, but doesn't get to truly be with him until the very end
- Something in the Rain - it's implied that the ML has liked the FL for a long time and isn't just falling for the FL when he returns to Korea at the beginning of the drama, but as far as I can remember there wasn't anything that 100% confirmed that
- Go Ho's Starry Night - edit: +1 for Pratyasha's recommendation
Dramas where the ML has unrequited feelings for the FL for years and the FL chooses to be with the ML in the end, but it doesn't quite fit your other criteria:
- What's Wrong with Secretary Kim - the ML is aware that he wants the FL by his side very early on, but doesn't realize he's in love with her until much later; the FL never dates anyone else
- Just Between Lovers - the FL is dating someone else when the ML first meets her when they're young, but she's single when they meet again as adults
- I Hear Your Voice
- I Need Romance 3
- In Time With You
- Empress Ki
- The King's Woman