Include <config.h> early, so its _GNU_SOURCE definition takes effect.
Include <config.h> early, so its _GNU_SOURCE definition takes effect.

* src/lexer.l (%top{...}): Include <config.h> here, not in %{...}.
Otherwise, the flex-emitted inclusion of <string.h> would
precede the definition of _GNU_SOURCE, rendering it useless.
This also avoids warnings about strndup being undeclared.
Don't include <string.h> explicitly, since flex already does that.

bkearney/augeas,domcleal/augeas,camptocamp/augeas,lutter/augeas,jtopjian/augeas,pevalme/augeas,mchf/augeas,dafugg/augeas,bkearney/augeas,pevalme/augeas,MikaelSmith/augeas,hercules-team/augeas,GeoffWilliams/augeas,MikaelSmith/augeas,kumy/augeas,jtopjian/augeas,kunkku/augeas,kumy/augeas,hercules-team/augeas-do-not-use,GeoffWilliams/augeas,kunkku/augeas,manandbytes/augeas,bkearney/augeas,hercules-team/augeas-do-not-use,bkearney/augeas,raphink/augeas,jjlin/augeas,kunkku/augeas,jasperla/augeas,mlichvar/augeas,hercules-team/augeas-do-not-use,lutter/augeas,jjlin/augeas,manandbytes/augeas,domcleal/augeas,ptoscano/augeas,pevalme/augeas,mlichvar/augeas,camptocamp/augeas,jasperla/augeas,dafugg/augeas,ptoscano/augeas,camptocamp/augeas,lutter/augeas,raphink/augeas,mlichvar/augeas,kumy/augeas,domcleal/augeas,dafugg/augeas,hercules-team/augeas,camptocamp/augeas,jjlin/augeas,kumy/augeas,mchf/augeas,ptoscano/augeas