[sysprof/wip/chergert/sysprof-3] libsysprof: allow kallsyms usage from daemon



commit ee14317cb8b3e48d1017ecf779c0340d9d55d89c
Author: Christian Hergert <chergert redhat com>
Date:   Wed May 8 17:52:07 2019 -0700

    libsysprof: allow kallsyms usage from daemon

 src/libsysprof/sysprof-kallsyms.h | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/src/libsysprof/sysprof-kallsyms.h b/src/libsysprof/sysprof-kallsyms.h
index 5a57c2d..9ae011f 100644
--- a/src/libsysprof/sysprof-kallsyms.h
+++ b/src/libsysprof/sysprof-kallsyms.h
@@ -20,10 +20,6 @@
 
 #pragma once
 
-#if !defined (SYSPROF_INSIDE) && !defined (SYSPROF_COMPILATION)
-# error "Only <sysprof.h> can be included directly."
-#endif
-
 #include "sysprof-version-macros.h"
 
 G_BEGIN_DECLS


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]