Mercurial > emacs
comparison lib-src/emacsserver.c @ 25448:95f7147cb572
Include <stdlib.h> if available. Don't declare errno if it's a macro.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Mon, 30 Aug 1999 15:07:30 +0000 |
parents | 89be69860eeb |
children | 134b57acef68 |
comparison
equal
deleted
inserted
replaced
25447:76e2d539ecad | 25448:95f7147cb572 |
---|---|
63 | 63 |
64 #ifdef HAVE_UNISTD_H | 64 #ifdef HAVE_UNISTD_H |
65 #include <unistd.h> | 65 #include <unistd.h> |
66 #endif | 66 #endif |
67 | 67 |
68 #ifdef STDC_HEADERS | |
69 #include <stdlib.h> | |
70 #endif | |
71 | |
72 #ifndef errno | |
68 extern int errno; | 73 extern int errno; |
74 #endif | |
69 | 75 |
70 /* Copied from src/process.c */ | 76 /* Copied from src/process.c */ |
71 #ifdef FD_SET | 77 #ifdef FD_SET |
72 /* We could get this from param.h, but better not to depend on finding that. | 78 /* We could get this from param.h, but better not to depend on finding that. |
73 And better not to risk that it might define other symbols used in this | 79 And better not to risk that it might define other symbols used in this |