fix
This commit is contained in:
parent
fa2b540550
commit
6a1d2cf850
9
C/irc.c
9
C/irc.c
@ -1,3 +1,12 @@
|
|||||||
|
#include <stdio.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
#include <sys/time.h>
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <arpa/inet.h>
|
||||||
#include "irc.h"
|
#include "irc.h"
|
||||||
|
|
||||||
int IRCC_connect(IRCC_client *irc, const char *ip, const unsigned int port){
|
int IRCC_connect(IRCC_client *irc, const char *ip, const unsigned int port){
|
||||||
|
9
C/irc.h
9
C/irc.h
@ -8,15 +8,6 @@
|
|||||||
motd
|
motd
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <netdb.h>
|
|
||||||
#include <sys/time.h>
|
|
||||||
#include <netinet/in.h>
|
|
||||||
#include <sys/socket.h>
|
|
||||||
#include <arpa/inet.h>
|
|
||||||
#define IRCC_MSG_MAX 512
|
#define IRCC_MSG_MAX 512
|
||||||
#define IRCC_PING_TIMEOUT 600
|
#define IRCC_PING_TIMEOUT 600
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user