From: Mark Lodato Date: Sat, 4 Sep 2010 15:49:30 +0000 (-0400) Subject: ui-repolist: fix redefinition of _XOPEN_SOURCE X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/25e8ba1996a7b5ea291c924b0990d706176f6fe6?hp=25e8ba1996a7b5ea291c924b0990d706176f6fe6 ui-repolist: fix redefinition of _XOPEN_SOURCE Previously, ui-repolist.c set _GNU_SOURCE and then included a standard library before including . This was a problem, because redefined _XOPEN_SOURCE, which is set automatically by glibc when _GNU_SOURCE is set. However, already sets _GNU_SOURCE and includes both and , so there is no need to define _GNU_SOURCE or include either header within ui-repolist.c. Signed-off-by: Mark Lodato ---