summaryrefslogtreecommitdiff
path: root/noncore/todayplugins/stockticker/libstocks/http.c
authorllornkcor <llornkcor>2002-10-31 20:39:13 (UTC)
committer llornkcor <llornkcor>2002-10-31 20:39:13 (UTC)
commit00a211621ea11ed73d803a3e52c09ce1e76864eb (patch) (side-by-side diff)
tree01b54261103785b7eaa46471809494807291494b /noncore/todayplugins/stockticker/libstocks/http.c
parent88310c7207b84c79dbb11ab3c3afeded1874c10b (diff)
downloadopie-00a211621ea11ed73d803a3e52c09ce1e76864eb.zip
opie-00a211621ea11ed73d803a3e52c09ce1e76864eb.tar.gz
opie-00a211621ea11ed73d803a3e52c09ce1e76864eb.tar.bz2
better fix
Diffstat (limited to 'noncore/todayplugins/stockticker/libstocks/http.c') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/todayplugins/stockticker/libstocks/http.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/todayplugins/stockticker/libstocks/http.c b/noncore/todayplugins/stockticker/libstocks/http.c
index 3078746..2f38f8a 100644
--- a/noncore/todayplugins/stockticker/libstocks/http.c
+++ b/noncore/todayplugins/stockticker/libstocks/http.c
@@ -10,25 +10,27 @@
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#define __HTTP_C__
+#ifndef __UNIX__
#define __UNIX__
+#endif
#ifdef __UNIX__
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <unistd.h>
#elif __WINDOWS__
#include <winsock.h>
#include <mbstring.h>
#endif