commit d7813f53012d1e449ead1c0ed50e40b90d506277
parent ac1eb3a6a09160770908d071507827387cc7f141
Author: Frederic Cambus <fred@statdns.com>
Date: Sat, 26 Oct 2019 19:25:32 +0200
Adding missing #include guard in seccomp.h header file.
Diffstat:
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/src/seccomp.h b/src/seccomp.h
@@ -4,12 +4,15 @@
* https://www.statdns.com
*
* Created: 2012-02-13
- * Last Updated: 2019-10-25
+ * Last Updated: 2019-10-26
*
* StatZone is released under the BSD 2-Clause license
* See LICENSE file for details.
*/
+#ifndef SECCOMP_H
+#define SECCOMP_H
+
#include <stddef.h>
#include <sys/prctl.h>
#include <sys/socket.h>
@@ -45,3 +48,5 @@ struct sock_fprog statzone = {
.len = sizeof(filter)/sizeof(filter[0]),
.filter = filter
};
+
+#endif /* SECCOMP_H */