[sysprof] libsysprof: allow kallsyms usage from daemon



commit 46d3c553e5e9314aaab3cd49673d8344324d2f0a
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]