aboutsummaryrefslogtreecommitdiffstats
path: root/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'socket.h')
-rw-r--r--socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/socket.h b/socket.h
index a89685bc..a0a45bc1 100644
--- a/socket.h
+++ b/socket.h
@@ -8,7 +8,7 @@
#define SOCKET__
/* Create a new client socket; returns (FILE *)NULL on error */
-#if INET6_ENABLE
+#ifdef INET6_ENABLE
int SockOpen(const char *host, const char *service, const char *options,
const char *plugin);
#else /* INET6_ENABLE */
@@ -63,7 +63,7 @@ FIXME: document this
*/
int UnixOpen(const char *path);
-#if SSL_ENABLE
+#ifdef SSL_ENABLE
int SSLOpen(int sock, char *mycert, char *mykey, char *myproto, int certck, char *certpath,
char *fingerprint, char *servercname, char *label);
#endif /* SSL_ENABLE */