Fix inconsistent definition of off_t on Linux
Fix inconsistent definition of off_t on Linux

In order to avoid inconsistent definitions of type off_t, all
compilation units should include the "common.h" header file
before certain system headers (those which directly or indirectly
lead to the definition of off_t). The "common.h" header contains
the definition of _FILE_OFFSET_BITS to select 64-bit file offsets.

The symptom of this inconsistency, while compiling with -Wextra, is
the following warning:

    In file included from src/common.h:50,
                     from src/commit.c:28:
    src/util.h: In function git__is_sizet:
    src/util.h:41: warning: comparison between signed and unsigned

In order to fix the problem, we simply remove the #include <time.h>
statement at the head of src/commit.c.  Note that src/commit.h also
includes <time.h>.

Signed-off-by: Ramsay Jones <3e74413778ce9c8bebbbaedfd56741f6850faeaf@ramsay1.demon.co.uk>
Signed-off-by: Andreas Ericsson <1eabdaf488b3a3682bbca94c5f468f065cdfaf13@op5.se>

iankronquist/libgit2,kissthink/libgit2,sygool/libgit2,jeffhostetler/public_libgit2,mrksrm/Mingijura,zodiac/libgit2.js,saurabhsuniljain/libgit2,sim0629/libgit2,amyvmiwei/libgit2,raybrad/libit2,mcanthony/libgit2,mrksrm/Mingijura,spraints/libgit2,joshtriplett/libgit2,rcorre/libgit2,yongthecoder/libgit2,dleehr/libgit2,kissthink/libgit2,KTXSoftware/libgit2,skabel/manguse,Snazz2001/libgit2,t0xicCode/libgit2,nacho/libgit2,Snazz2001/libgit2,mingyaaaa/libgit2,chiayolin/libgit2,saurabhsuniljain/libgit2,Aorjoa/libgit2_maked_lib,chiayolin/libgit2,ardumont/libgit2,iankronquist/libgit2,dleehr/libgit2,joshtriplett/libgit2,jeffhostetler/public_libgit2,Corillian/libgit2,since2014/libgit2,swisspol/DEMO-libgit2,kissthink/libgit2,magnus98/TEST,swisspol/DEMO-libgit2,swisspol/DEMO-libgit2,Corillian/libgit2,spraints/libgit2,whoisj/libgit2,t0xicCode/libgit2,sygool/libgit2,skabel/manguse,mhp/libgit2,skabel/manguse,leoyanggit/libgit2,since2014/libgit2,Tousiph/Demo1,jflesch/libgit2-mariadb,dleehr/libgit2,jflesch/libgit2-mariadb,nokiddin/libgit2,JIghtuse/libgit2,mhp/libgit2,leoyanggit/libgit2,stewid/libgit2,falqas/libgit2,sim0629/libgit2,rcorre/libgit2,falqas/libgit2,nokiddin/libgit2,Snazz2001/libgit2,mcanthony/libgit2,dleehr/libgit2,iankronquist/libgit2,sim0629/libgit2,mhp/libgit2,leoyanggit/libgit2,kenprice/libgit2,whoisj/libgit2,iankronquist/libgit2,nokiddin/libgit2,nokiddin/libgit2,maxiaoqian/libgit2,KTXSoftware/libgit2,JIghtuse/libgit2,joshtriplett/libgit2,magnus98/TEST,JIghtuse/libgit2,leoyanggit/libgit2,kenprice/libgit2,spraints/libgit2,nokiddin/libgit2,falqas/libgit2,amyvmiwei/libgit2,saurabhsuniljain/libgit2,falqas/libgit2,Tousiph/Demo1,rcorre/libgit2,yosefhackmon/libgit2,ardumont/libgit2,jamieleecool/ptest,joshtriplett/libgit2,amyvmiwei/libgit2,Corillian/libgit2,t0xicCode/libgit2,jeffhostetler/public_libgit2,Tousiph/Demo1,skabel/manguse,nokiddin/libgit2,raybrad/libit2,zodiac/libgit2.js,jeffhostetler/public_libgit2,falqas/libgit2,jflesch/libgit2-mariadb,maxiaoqian/libgit2,ardumont/libgit2,sygool/libgit2,stewid/libgit2,raybrad/libit2,Tousiph/Demo1,spraints/libgit2,mrksrm/Mingijura,yongthecoder/libgit2,falqas/libgit2,evhan/libgit2,claudelee/libgit2,amyvmiwei/libgit2,sygool/libgit2,amyvmiwei/libgit2,MrHacky/libgit2,stewid/libgit2,jflesch/libgit2-mariadb,claudelee/libgit2,t0xicCode/libgit2,magnus98/TEST,mrksrm/Mingijura,KTXSoftware/libgit2,magnus98/TEST,yosefhackmon/libgit2,claudelee/libgit2,mcanthony/libgit2,mhp/libgit2,since2014/libgit2,claudelee/libgit2,yosefhackmon/libgit2,chiayolin/libgit2,whoisj/libgit2,jamieleecool/ptest,zodiac/libgit2.js,saurabhsuniljain/libgit2,Corillian/libgit2,jflesch/libgit2-mariadb,mcanthony/libgit2,JIghtuse/libgit2,leoyanggit/libgit2,maxiaoqian/libgit2,raybrad/libit2,chiayolin/libgit2,iankronquist/libgit2,iankronquist/libgit2,KTXSoftware/libgit2,oaastest/libgit2,mcanthony/libgit2,kenprice/libgit2,t0xicCode/libgit2,dleehr/libgit2,skabel/manguse,whoisj/libgit2,jflesch/libgit2-mariadb,kissthink/libgit2,leoyanggit/libgit2,zodiac/libgit2.js,raybrad/libit2,sim0629/libgit2,sim0629/libgit2,oaastest/libgit2,since2014/libgit2,Snazz2001/libgit2,ardumont/libgit2,dleehr/libgit2,KTXSoftware/libgit2,MrHacky/libgit2,swisspol/DEMO-libgit2,zodiac/libgit2.js,spraints/libgit2,whoisj/libgit2,jamieleecool/ptest,JIghtuse/libgit2,stewid/libgit2,sygool/libgit2,kissthink/libgit2,rcorre/libgit2,jamieleecool/ptest,linquize/libgit2,yongthecoder/libgit2,whoisj/libgit2,Tousiph/Demo1,yosefhackmon/libgit2,t0xicCode/libgit2,mrksrm/Mingijura,evhan/libgit2,kenprice/libgit2,Tousiph/Demo1,sim0629/libgit2,Snazz2001/libgit2,MrHacky/libgit2,mrksrm/Mingijura,Aorjoa/libgit2_maked_lib,mingyaaaa/libgit2,mhp/libgit2,MrHacky/libgit2,jeffhostetler/public_libgit2,kenprice/libgit2,linquize/libgit2,MrHacky/libgit2,magnus98/TEST,jeffhostetler/public_libgit2,since2014/libgit2,skabel/manguse,rcorre/libgit2,linquize/libgit2,swisspol/DEMO-libgit2,Corillian/libgit2,linquize/libgit2,ardumont/libgit2,mcanthony/libgit2,KTXSoftware/libgit2,Corillian/libgit2,spraints/libgit2,MrHacky/libgit2,mhp/libgit2,amyvmiwei/libgit2,claudelee/libgit2,saurabhsuniljain/libgit2,rcorre/libgit2,JIghtuse/libgit2,oaastest/libgit2,Aorjoa/libgit2_maked_lib,Aorjoa/libgit2_maked_lib,stewid/libgit2,mingyaaaa/libgit2,yosefhackmon/libgit2,yongthecoder/libgit2,evhan/libgit2,kenprice/libgit2,linquize/libgit2,joshtriplett/libgit2,nacho/libgit2,maxiaoqian/libgit2,Aorjoa/libgit2_maked_lib,claudelee/libgit2,oaastest/libgit2,mingyaaaa/libgit2,nacho/libgit2,chiayolin/libgit2,sygool/libgit2,mingyaaaa/libgit2,yongthecoder/libgit2,maxiaoqian/libgit2,evhan/libgit2,since2014/libgit2,mingyaaaa/libgit2,linquize/libgit2,chiayolin/libgit2,stewid/libgit2,kissthink/libgit2,nacho/libgit2,ardumont/libgit2,yosefhackmon/libgit2,oaastest/libgit2,joshtriplett/libgit2,oaastest/libgit2,Snazz2001/libgit2,swisspol/DEMO-libgit2,saurabhsuniljain/libgit2,magnus98/TEST,yongthecoder/libgit2,maxiaoqian/libgit2