- Made listen backlog number a define

diff --git a/include/polarssl/net.h b/include/polarssl/net.h
index ee23180..725babe 100644
--- a/include/polarssl/net.h
+++ b/include/polarssl/net.h
@@ -41,6 +41,8 @@
 #define POLARSSL_ERR_NET_WANT_READ                         -0x0052  /**< Connection requires a read call. */
 #define POLARSSL_ERR_NET_WANT_WRITE                        -0x0054  /**< Connection requires a write call. */
 
+#define POLARSSL_NET_LISTEN_BACKLOG         10 /**< The backlog that listen() should use. */
+
 #ifdef __cplusplus
 extern "C" {
 #endif
diff --git a/library/net.c b/library/net.c
index ad2b278..e1d91e4 100644
--- a/library/net.c
+++ b/library/net.c
@@ -189,7 +189,7 @@
         return( POLARSSL_ERR_NET_BIND_FAILED );
     }
 
-    if( listen( *fd, 10 ) != 0 )
+    if( listen( *fd, POLARSSL_NET_LISTEN_BACKLOG ) != 0 )
     {
         close( *fd );
         return( POLARSSL_ERR_NET_LISTEN_FAILED );