]> mj.ucw.cz Git - nwho.git/blobdiff - nwho.h
Make the systemd service be ordered after autofs.service, so that it is ordered befor...
[nwho.git] / nwho.h
diff --git a/nwho.h b/nwho.h
index 8413e9d19a59927f68f7fd969c32b3586eea45f0..69bc7a469b5ea3bc8aceca1dd4541b34487cb326 100644 (file)
--- a/nwho.h
+++ b/nwho.h
@@ -5,6 +5,7 @@
  */
 
 #include <inttypes.h>
+#include <netinet/in.h>
 
 typedef uint32_t u32;
 
@@ -45,3 +46,7 @@ static inline int nwho_pkt_size(struct nwho_pkt *pkt)
 {
   return sizeof(struct nwho_pkt) - (MAX_USERS - ntohl(pkt->num_users))*sizeof(struct userinfo);
 }
+
+/* util.c */
+
+void die(char *msg, ...) __attribute__((noreturn));