commit f8ddf97c137fad3a1778648f1d629f93875b78f1
parent 764d332dfba248e1e688fb25325d788536b38661
Author: Frederic Cambus <fred@statdns.com>
Date: Sat, 26 Oct 2019 17:56:50 +0200
Adding missing #include guard in seccomp.h header file.
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/seccomp.h b/src/seccomp.h
@@ -10,6 +10,9 @@
* See LICENSE file for details.
*/
+#ifndef SECCOMP_H
+#define SECCOMP_H
+
#include <stddef.h>
#include <sys/prctl.h>
#include <sys/socket.h>
@@ -48,3 +51,5 @@ struct sock_fprog logswan = {
.len = sizeof(filter)/sizeof(filter[0]),
.filter = filter
};
+
+#endif /* SECCOMP_H */