ujail: add no_new_privs (-c) option
[project/procd.git] / jail / log.h
index b1d201e..74a9f11 100644 (file)
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  */
+#ifndef _JAIL_LOG_H_
+#define _JAIL_LOG_H_
 
 extern int debug;
+#include <stdio.h>
 #include <syslog.h>
 
 #define INFO(fmt, ...) do { \
@@ -25,3 +28,4 @@ extern int debug;
        if (debug) printf("jail: "fmt, ## __VA_ARGS__); \
        } while (0)
 
+#endif