aboutsummaryrefslogtreecommitdiffstats
path: root/ui-atom.h
diff options
context:
space:
mode:
authorGravatar Mark Lodato <lodatom@gmail.com>2010-09-05 00:49:30 (JST)
committerGravatar Mark Lodato <lodatom@gmail.com>2010-09-05 03:09:24 (JST)
commit25e8ba1996a7b5ea291c924b0990d706176f6fe6 (patch)
tree935e6e9a5df75e98d293fc55577e9cc9f010086f /ui-atom.h
parente4ddc8f72b5a7d8c55a6c2042c7b7f945ba4b1a2 (diff)
downloadcgit-25e8ba1996a7b5ea291c924b0990d706176f6fe6.zip
cgit-25e8ba1996a7b5ea291c924b0990d706176f6fe6.tar.gz
ui-repolist: fix redefinition of _XOPEN_SOURCE
Previously, ui-repolist.c set _GNU_SOURCE and then included a standard library before including <git-compat-util.h>. This was a problem, because <git-compat-util.h> redefined _XOPEN_SOURCE, which is set automatically by glibc when _GNU_SOURCE is set. However, <git-compat-util.h> already sets _GNU_SOURCE and includes both <string.h> and <time.h>, so there is no need to define _GNU_SOURCE or include either header within ui-repolist.c. Signed-off-by: Mark Lodato <lodatom@gmail.com>
Diffstat (limited to 'ui-atom.h')
0 files changed, 0 insertions, 0 deletions