[win32] - make it compile on win32
[deb_libnfs.git] / portmap / portmap.c
index 07aa91276ea07ce06c9653cd56f851c4b22ee4d1..29f13d00b3d44a70db72b9c33dd7298e7f65ca70 100644 (file)
    You should have received a copy of the GNU Lesser General Public License
    along with this program; if not, see <http://www.gnu.org/licenses/>.
 */
+#ifdef WIN32
+#include "win32_compat.h"
+#endif/*WIN32*/
+
+#if defined(WIN32)
+#include <winsock2.h>
+#endif
 
 #include <stdio.h>
 #include <rpc/rpc.h>