chiark / gitweb /
use #pragma once instead of foo*foo #define guards
[elogind.git] / src / shared / missing.h
index 0cf7949d2cbde548c854af630c4fc2cd6a4720ce..e600acc0b18e5d0cf04cdb25cb36a6fa2e2e9e8e 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef foomissinghfoo
-#define foomissinghfoo
+#pragma once
 
 /***
   This file is part of systemd.
@@ -188,4 +187,6 @@ static inline pid_t gettid(void) {
 #define MS_STRICTATIME (1<<24)
 #endif
 
+#ifndef PR_SET_NO_NEW_PRIVS
+#define PR_SET_NO_NEW_PRIVS 38
 #endif