summaryrefslogtreecommitdiff
path: root/src/map/irc.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-07 19:34:54 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-07 19:34:54 +0000
commit37a7546e284e9f330b137178d6c4646842bde97f (patch)
tree80411355ed9c54266a8cd0c43d67ad8edda579f3 /src/map/irc.c
parent15d86669fb2fcedefa83d76cfe8b4bf3f110d481 (diff)
downloadhercules-37a7546e284e9f330b137178d6c4646842bde97f.tar.gz
hercules-37a7546e284e9f330b137178d6c4646842bde97f.tar.bz2
hercules-37a7546e284e9f330b137178d6c4646842bde97f.tar.xz
hercules-37a7546e284e9f330b137178d6c4646842bde97f.zip
Cleaning up of the socket code
- Shuffled includes around for files that were leeching off of socket.h - Added code that enforces standard shutdown behavior for sockets git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9817 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/irc.c')
-rw-r--r--src/map/irc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/irc.c b/src/map/irc.c
index 9989c3c31..55eafdcd9 100644
--- a/src/map/irc.c
+++ b/src/map/irc.c
@@ -1,4 +1,8 @@
+#ifndef _IRC_H_
+#define _IRC_H_
+
#include <ctype.h>
+#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -541,3 +545,5 @@ int irc_read_conf(char *file) {
return 1;
}
+
+#endif //_IRC_H_