Commit 23dd803f3f2b7be668408fa938e8d665249b4fba

Authored by Stéphane Raimbault
1 parent 83adabfa

Fix another Visual C++ 2008/2010 deficiency (closes #53)

Thanks to oldfaber.
Showing 1 changed file with 2 additions and 1 deletions
src/modbus-private.h
1 /* 1 /*
2 - * Copyright © 2010-2011 Stéphane Raimbault <stephane.raimbault@gmail.com> 2 + * Copyright © 2010-2012 Stéphane Raimbault <stephane.raimbault@gmail.com>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public 5 * modify it under the terms of the GNU Lesser General Public
@@ -25,6 +25,7 @@ @@ -25,6 +25,7 @@
25 #else 25 #else
26 # include "stdint.h" 26 # include "stdint.h"
27 # include <time.h> 27 # include <time.h>
  28 +typedef int ssize_t;
28 #endif 29 #endif
29 #include <sys/types.h> 30 #include <sys/types.h>
30 #include <config.h> 31 #include <config.h>