0001-Do-not-include-sys-sysctl.h-its-unused-on-linux-port.patch 672 B

12345678910111213141516171819202122232425
  1. From 7fcc7352ec11644ac8be4e9ec1584a5be3333684 Mon Sep 17 00:00:00 2001
  2. From: Khem Raj <raj.khem@gmail.com>
  3. Date: Wed, 12 Jul 2017 18:18:30 -0700
  4. Subject: [PATCH] Do not include sys/sysctl.h its unused on linux port
  5. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  6. ---
  7. panel-plugin/os.h | 1 -
  8. 1 file changed, 1 deletion(-)
  9. diff --git a/panel-plugin/os.h b/panel-plugin/os.h
  10. index 473c2a4..9a5c544 100644
  11. --- a/panel-plugin/os.h
  12. +++ b/panel-plugin/os.h
  13. @@ -170,7 +170,6 @@
  14. #elif __linux__ /* L I N U X */
  15. # include <stdio.h>
  16. # include <sys/param.h>
  17. -# include <sys/sysctl.h>
  18. # include <stdlib.h>
  19. # include <stdarg.h>
  20. # include <unistd.h>
  21. --
  22. 2.13.2