Skip to content

Commit

Permalink
Removed unnecessary #includes from https example code, to help with c…
Browse files Browse the repository at this point in the history
…ompiler compatibility (#44)
  • Loading branch information
Futaura committed Feb 28, 2020
1 parent 58b90b9 commit f05027d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/https.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if defined(__amigaos4__)
#ifndef __USE_BASETYPE__
#define __USE_BASETYPE__
#endif
Expand All @@ -7,14 +8,10 @@
#ifndef __NEW_TIMEVAL_DEFINITION_USED__
#define __NEW_TIMEVAL_DEFINITION_USED__
#endif
#endif /* __amigaos4__ */

#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <dos/dos.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
Expand Down

0 comments on commit f05027d

Please sign in to comment.