923a60
From 5a21b0644425a8f1decdb6d52b93e2a73d5c75bf Mon Sep 17 00:00:00 2001
923a60
From: Lukas Nykryn <lnykryn@redhat.com>
923a60
Date: Tue, 21 Apr 2015 17:02:22 +0200
923a60
Subject: [PATCH] some compilators don't support __INCLUDE_LEVEL__
923a60
923a60
---
923a60
 src/systemd/_sd-common.h | 2 +-
923a60
 1 file changed, 1 insertion(+), 1 deletion(-)
923a60
923a60
diff --git a/src/systemd/_sd-common.h b/src/systemd/_sd-common.h
923a60
index 896a027eb5..e9426a450e 100644
923a60
--- a/src/systemd/_sd-common.h
923a60
+++ b/src/systemd/_sd-common.h
923a60
@@ -24,7 +24,7 @@
923a60
 
923a60
 /* This is a private header; never even think of including this directly! */
923a60
 
923a60
-#if __INCLUDE_LEVEL__ <= 1
923a60
+#if defined __INCLUDE_LEVEL__ &&  __INCLUDE_LEVEL__ <= 1
923a60
 #error "Do not include _sd-common.h directly; it is a private header."
923a60
 #endif
923a60