Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ef7d06

Browse files
committed
network: <select.h> is not available in MinGW
1 parent aa2f68d commit 3ef7d06

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/transport_git.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
* Boston, MA 02110-1301, USA.
2424
*/
2525

26+
#ifndef __MINGW32__
2627
#include <sys/select.h>
28+
#endif
2729

2830
#include "git2/net.h"
2931
#include "git2/common.h"

0 commit comments

Comments
 (0)