summaryrefslogtreecommitdiff
path: root/apps/include
diff options
context:
space:
mode:
Diffstat (limited to 'apps/include')
-rw-r--r--apps/include/apps.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/apps/include/apps.h b/apps/include/apps.h
index 7789bd2b0a..a8da7ac9f4 100644
--- a/apps/include/apps.h
+++ b/apps/include/apps.h
@@ -12,6 +12,7 @@
# include "e_os.h" /* struct timeval for DTLS */
# include "internal/nelem.h"
+# include "internal/sockets.h" /* for openssl_fdset() */
# include <assert.h>
# include <sys/types.h>
@@ -35,13 +36,6 @@
# include "fmt.h"
# include "platform.h"
-/* also in include/internal/sockets.h */
-# if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_WINCE)
-# define openssl_fdset(a,b) FD_SET((unsigned int)a, b)
-# else
-# define openssl_fdset(a,b) FD_SET(a, b)
-# endif
-
/*
* quick macro when you need to pass an unsigned char instead of a char.
* this is true for some implementations of the is*() functions, for