Skip to content

Commit

Permalink
MINTERPRETERS build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
roberto@sirius committed Jul 28, 2010
1 parent 9f9f63f commit 08bbe0c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion uwsgi.c
Expand Up @@ -198,10 +198,12 @@ int main(int argc, char *argv[], char *envp[]) {
#endif


#ifdef UWSGI_UDP
struct pollfd uwsgi_poll;
struct sockaddr_in udp_client;
socklen_t udp_len;
char udp_client_addr[16];
#endif

pid_t pid;
int no_server = 0;
Expand Down Expand Up @@ -1613,9 +1615,11 @@ void init_uwsgi_vars() {

int i;
PyObject *pysys, *pysys_dict, *pypath;
char venv_version[15] ;

#ifdef UWSGI_MINTERPRETERS
char venv_version[15] ;
PyObject *site_module;
#endif

/* add cwd to pythonpath */
pysys = PyImport_ImportModule("sys");
Expand Down

0 comments on commit 08bbe0c

Please sign in to comment.