Fix compilation problems with winsock
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2857
This commit is contained in:
parent
c37b2c2eee
commit
9a9b883cbf
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: directserial_win32.h,v 1.4 2007-01-13 08:35:49 qbix79 Exp $ */
|
||||
/* $Id: directserial_win32.h,v 1.5 2007-05-23 08:05:22 qbix79 Exp $ */
|
||||
|
||||
// include guard
|
||||
#ifndef DOSBOX_DIRECTSERIAL_WIN32_H
|
||||
|
@ -31,6 +31,7 @@
|
|||
|
||||
#define DIRECTSERIAL_AVAILIBLE
|
||||
#include "serialport.h"
|
||||
#include <winsock2.h> //To prevent compilation problems with windows.h including winsock.h
|
||||
#include <windows.h>
|
||||
|
||||
class CDirectSerial : public CSerial {
|
||||
|
|
Loading…
Add table
Reference in a new issue