Skip to content

Commit

Permalink
Make Xdebug compile on Solaris/OpenSolaris/OpenIndiana again.
Browse files Browse the repository at this point in the history
  • Loading branch information
Derick Rethans committed Aug 10, 2011
1 parent 0b5f47d commit 70a6992
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions usefulstuff.c
Expand Up @@ -40,6 +40,10 @@
#include "ext/standard/flock_compat.h"
#include "main/php_ini.h"

#ifndef NAME_MAX
# define NAME_MAX (MAXNAMELEN-1)
#endif

#define READ_BUFFER_SIZE 128

char* xdebug_fd_read_line_delim(int socket, fd_buf *context, int type, unsigned char delim, int *length)
Expand Down

0 comments on commit 70a6992

Please sign in to comment.