diff options
| author | Lars Ingebrigtsen | 2016-02-01 03:06:58 +0100 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-02-01 03:06:58 +0100 |
| commit | 2cc69b4573573f464e5d21c9f47570afa9c2e7b0 (patch) | |
| tree | b0b6fca64e276cd1578543f69b525d711fd9dedd /src | |
| parent | 0645c0f81b795ca2e8a44b7ad490d2aba502a489 (diff) | |
| download | emacs-2cc69b4573573f464e5d21c9f47570afa9c2e7b0.tar.gz emacs-2cc69b4573573f464e5d21c9f47570afa9c2e7b0.zip | |
Build fix for glibc systems.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c index 5fee8b0cc32..0e4fcb2c0a9 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -3318,6 +3318,7 @@ void connect_network_socket (Lisp_Object proc, Lisp_Object ip_addresses) | |||
| 3318 | 3318 | ||
| 3319 | } | 3319 | } |
| 3320 | 3320 | ||
| 3321 | #ifndef HAVE_GETADDRINFO | ||
| 3321 | static Lisp_Object | 3322 | static Lisp_Object |
| 3322 | conv_numerical_to_lisp (unsigned char *number, unsigned int length, int port) | 3323 | conv_numerical_to_lisp (unsigned char *number, unsigned int length, int port) |
| 3323 | { | 3324 | { |
| @@ -3331,6 +3332,7 @@ conv_numerical_to_lisp (unsigned char *number, unsigned int length, int port) | |||
| 3331 | 3332 | ||
| 3332 | return address; | 3333 | return address; |
| 3333 | } | 3334 | } |
| 3335 | #endif | ||
| 3334 | 3336 | ||
| 3335 | /* Create a network stream/datagram client/server process. Treated | 3337 | /* Create a network stream/datagram client/server process. Treated |
| 3336 | exactly like a normal process when reading and writing. Primary | 3338 | exactly like a normal process when reading and writing. Primary |
| @@ -3699,6 +3701,7 @@ usage: (make-network-process &rest ARGS) */) | |||
| 3699 | if (!NILP (host)) | 3701 | if (!NILP (host)) |
| 3700 | { | 3702 | { |
| 3701 | struct addrinfo *res, *lres; | 3703 | struct addrinfo *res, *lres; |
| 3704 | int ret; | ||
| 3702 | 3705 | ||
| 3703 | immediate_quit = 1; | 3706 | immediate_quit = 1; |
| 3704 | QUIT; | 3707 | QUIT; |