]> git.proxmox.com Git - mirror_qemu.git/blobdiff - slirp/tcpip.h
qmp-commands: move 'system_powerdown' doc to schema
[mirror_qemu.git] / slirp / tcpip.h
index 124b4a9f623f7d298b09b3ea6e863a842f9d7744..07dbf2c43268e64772f3e5475f6a43af1474c600 100644 (file)
@@ -30,8 +30,8 @@
  * tcpip.h,v 1.3 1994/08/21 05:27:40 paul Exp
  */
 
-#ifndef _TCPIP_H_
-#define _TCPIP_H_
+#ifndef TCPIP_H
+#define TCPIP_H
 
 /*
  * Tcp+ip header, after ip options removed.
@@ -85,7 +85,7 @@ struct tcpiphdr {
 /* This is the difference between the size of a tcpiphdr structure, and the
  * size of actual ip+tcp headers, rounded up since we need to align data.  */
 #define TCPIPHDR_DELTA\
-    (max(0,\
+    (MAX(0,\
          (sizeof(struct tcpiphdr)\
           - sizeof(struct ip) - sizeof(struct tcphdr) + 3) & ~3))