summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenrik Grindal Bakken <hgb@ifi.uio.no>2017-03-23 16:09:10 +0100
committerHenrik Grindal Bakken <hgb@ifi.uio.no>2017-12-18 14:15:17 +0100
commit8cbe9f06f4dc15d2f797d72a1f0e659c9bc9b560 (patch)
tree218f35245e4b6b388831c745e9ed89ed1d3b4b00 /src
parentcacc0d7a78abcdadd99efb247a8816b15a270357 (diff)
downloadsystemd-8cbe9f06f4dc15d2f797d72a1f0e659c9bc9b560.tar.gz
systemd-8cbe9f06f4dc15d2f797d72a1f0e659c9bc9b560.tar.bz2
systemd-8cbe9f06f4dc15d2f797d72a1f0e659c9bc9b560.zip
missing: Define SMACK_MAGIC if it's missing
Diffstat (limited to 'src')
-rw-r--r--src/basic/missing.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h
index 3e2c0afc85..20a1c5f1b9 100644
--- a/src/basic/missing.h
+++ b/src/basic/missing.h
@@ -589,6 +589,10 @@ struct btrfs_ioctl_quota_ctl_args {
#define EFIVARFS_MAGIC 0xde5e81e4
#endif
+#ifndef SMACK_MAGIC
+#define SMACK_MAGIC 0x43415d53
+#endif
+
#ifndef MAX_HANDLE_SZ
#define MAX_HANDLE_SZ 128
#endif