INFO: The new Git default branch name is "main". Details here: https://about.gitlab.com/blog/2021/03/10/new-git-default-branch-name/

Commit 64f439ed authored by Matteo Quintiliani's avatar Matteo Quintiliani
Browse files

Added check for winsock2.h


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@495 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 239133c4
......@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it
*
* $Id: nmxp.c,v 1.54 2007-11-23 17:34:18 mtheo Exp $
* $Id: nmxp.c,v 1.55 2007-12-07 13:45:44 mtheo Exp $
*
*/
......@@ -23,6 +23,10 @@
#include <arpa/inet.h>
#endif
#ifdef HAVE_WINDOWS_H
#include "winsock2.h"
#endif
int nmxp_sendConnect(int isock) {
return nmxp_sendMessage(isock, NMXP_MSG_CONNECT, NULL, 0);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment