Mercurial > emacs
comparison src/getloadavg.c @ 112317:7df2e30d72ec
Include <unistd.h> unilaterally.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sun, 09 Jan 2011 00:12:35 -0800 |
parents | 750db9f3e6d8 |
children | 56d3e9c28eb0 |
comparison
equal
deleted
inserted
replaced
112316:2887524f362a | 112317:7df2e30d72ec |
---|---|
353 | 353 |
354 # if !defined(LDAV_SYMBOL) && ((defined(hpux) && !defined(hp9000s300)) || defined(_SEQUENT_) || defined(SVR4) || defined(ISC) || defined(sgi) || (defined (ardent) && defined (titan)) || defined (_AIX)) | 354 # if !defined(LDAV_SYMBOL) && ((defined(hpux) && !defined(hp9000s300)) || defined(_SEQUENT_) || defined(SVR4) || defined(ISC) || defined(sgi) || (defined (ardent) && defined (titan)) || defined (_AIX)) |
355 # define LDAV_SYMBOL "avenrun" | 355 # define LDAV_SYMBOL "avenrun" |
356 # endif | 356 # endif |
357 | 357 |
358 # ifdef HAVE_UNISTD_H | 358 # include <unistd.h> |
359 # include <unistd.h> | |
360 # endif | |
361 | |
362 # include <stdio.h> | 359 # include <stdio.h> |
363 | 360 |
364 /* LOAD_AVE_TYPE should only get defined if we're going to use the | 361 /* LOAD_AVE_TYPE should only get defined if we're going to use the |
365 nlist method. */ | 362 nlist method. */ |
366 # if !defined(LOAD_AVE_TYPE) && (defined(BSD) || defined(LDAV_CVT) || defined(KERNEL_FILE) || defined(LDAV_SYMBOL)) | 363 # if !defined(LOAD_AVE_TYPE) && (defined(BSD) || defined(LDAV_CVT) || defined(KERNEL_FILE) || defined(LDAV_SYMBOL)) |