Longman's definition isn't a universal one.
Wiktionary:
- A distinctive smell.
Merriam Webster:
1: effluvia from a substance that affect the sense of smell
Dictionary.com:
(American) 1. a distinctive odor, especially when agreeable
(British) 1. a distinctive smell, esp a pleasant one
Oxford English Dictionary:
3.a. An odour or aroma; a distinctive or characteristic smell; esp. one that is pleasant.
The sense of "pleasantness" is not a defining characteristic of "scent".
For example, the OED gives these examples (along with others) of the use of "scent" in real-world usage:
... the smell of rotting leaves, harsh acid scent of blood.
His throat constricted with nausea at the overpowering scent.
There is scarcely a scent odious or agreeable that may not be met with in the insect world.
Indeed, the first attested usage is of an unpleasant one:
?1473 Every man rose fro the table abhorryng & eschewyng the sente and sauour of the dede man.
In modern spelling:
Every man rose from the table abhorring and eschewing the scent and savour of the dead man.
It is true that "scent" is most often used in the pleasant sense. (Hence the usage notes by Dictionary.com and the OED.) So Longman is not strictly speaking incorrect. They accurately capture the meaning of the word that English language learners (their target audience) will most likely encounter. However, they would be incorrect to imply that "scent" is only used in the pleasant sense, and never for unpleasant smells. As the usage examples in the OED indicate, that's not the case.