xbatt-1.2.1-implicits.patch 297 B

123456789101112131415
  1. Fix implicit functions declarations
  2. --- xbatt.c
  3. +++ xbatt.c
  4. @@ -47,6 +47,9 @@
  5. #include <time.h>
  6. #include <sys/file.h>
  7. #include <sys/ioctl.h>
  8. +#include <unistd.h>
  9. +#include <stdlib.h>
  10. +#include <X11/IntrinsicP.h>
  11. #include <X11/StringDefs.h>
  12. #include <X11/Intrinsic.h>
  13. #include <X11/Shell.h>