summaryrefslogtreecommitdiff
path: root/src/common/lock.h
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/common/lock.h
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/common/lock.h')
-rw-r--r--src/common/lock.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/lock.h b/src/common/lock.h
index e2247fc68..e90fbf745 100644
--- a/src/common/lock.h
+++ b/src/common/lock.h
@@ -4,6 +4,8 @@
#ifndef _LOCK_H_
#define _LOCK_H_
+#include <stdio.h>
+
FILE* lock_fopen(const char* filename,int *info);
int lock_fclose(FILE *fp,const char* filename,int *info);