]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - net_loop.h
DP code cleanup, stage one - all headers that can be protected by ifdef
[xonotic/darkplaces.git] / net_loop.h
index 90cdb2c50df2f8ffd1b041a37a938396dec80ec2..4f248f494c39cffdd32792659f945a479d7ec916 100644 (file)
@@ -19,6 +19,9 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
 // net_loop.h
 
+#ifndef NET_LOOP_H
+#define NET_LOOP_H
+
 int                    Loop_Init (void);
 void           Loop_Listen (qboolean state);
 void           Loop_SearchForHosts (qboolean xmit);
@@ -31,3 +34,6 @@ qboolean      Loop_CanSendMessage (qsocket_t *sock);
 qboolean       Loop_CanSendUnreliableMessage (qsocket_t *sock);
 void           Loop_Close (qsocket_t *sock);
 void           Loop_Shutdown (void);
+
+#endif
+