1. 22 Nov, 2018 1 commit
  2. 17 Nov, 2018 1 commit
  3. 10 Mar, 2018 1 commit
  4. 26 Jan, 2017 3 commits
  5. 07 May, 2015 2 commits
  6. 01 Jun, 2014 2 commits
  7. 02 May, 2014 1 commit
    • Yaakov Selkowitz's avatar
      Use wrapped windows header to fix compilation for Cygwin · 23f4a318
      Yaakov Selkowitz authored
      xload uses a windows-specific interface to obtain the load average, as
      getloadavg() is not implemented for Cygwin.
      
      Including some versions of windows.h after including X11 headers can lead to
      compilation errors as 'Status' is used as a type name in Xlib.h, but a parameter
      or memeber name in Windows headers.
      
      Include X11/Xwindows.h rather than windows.h directly, which wraps it in a such
      way to avoid any conflict with X11 headers.
      
      In file included from /usr/include/w32api/minwindef.h:146:0,
                       from /usr/include/w32api/windef.h:8,
                       from /usr/include/w32api/windows.h:69,
                       from /jhbuild/checkout/xorg/app/xload/get_load.c:53:
      /usr/include/w32api/winnt.h:4951:15: error: two or more data types in declaration specifiers
             DWORD64 Status;
                     ^
      In file included from /usr/include/w32api/minwindef.h:146:0,
                       from /usr/include/w32api/windef.h:8,
                       from /usr/include/w32api/windows.h:69,
                       from /jhbuild/checkout/xorg/app/xload/get_load.c:53:
      /usr/include/w32api/winnt.h:5090:13: error: two or more data types in declaration specifiers
             DWORD Status;
                   ^
      Signed-off-by: Yaakov Selkowitz's avatarYaakov Selkowitz <yselkowitz@users.sourceforge.net>
      Reviewed-by: Jon Turney's avatarJon TURNEY <jon.turney@dronecode.org.uk>
      23f4a318
  8. 04 Aug, 2013 1 commit
  9. 19 Jul, 2013 1 commit
  10. 30 Mar, 2013 1 commit
  11. 25 Feb, 2013 3 commits
  12. 24 Feb, 2013 11 commits
  13. 21 Feb, 2013 1 commit
  14. 23 Aug, 2012 1 commit
  15. 23 Mar, 2012 1 commit
  16. 18 Jan, 2012 2 commits
  17. 21 Dec, 2011 5 commits
  18. 19 Jan, 2011 1 commit
  19. 13 Jan, 2011 1 commit