diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-01-04 17:15:26 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-01-04 17:15:26 +0200 |
commit | 834551d2469d72d2192d519e00525114e7d7a457 (patch) | |
tree | 71fa592812a8a414931bafcaedb7c2a7f1a1a86f /system.h | |
parent | 554f3f0cfb10cc2494f4a232646dc8bdda7ea962 (diff) | |
download | librpm-tizen-834551d2469d72d2192d519e00525114e7d7a457.tar.gz librpm-tizen-834551d2469d72d2192d519e00525114e7d7a457.tar.bz2 librpm-tizen-834551d2469d72d2192d519e00525114e7d7a457.zip |
Clean up poll() vs select() tests
- move the includes out of system.h, not commonly needed
- <poll.h> is conditional as we actually provide a fallback through select(),
but for <sys/select.h> missing there's no fallback so doesn't make
much sense to test for (and both poll.h and sys/select.h are posix anyway...)
Diffstat (limited to 'system.h')
-rw-r--r-- | system.h | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -252,14 +252,6 @@ extern const char *__progname; #include <strings.h> #endif -#if HAVE_POLL_H -#include <poll.h> -#else -#if HAVE_SYS_SELECT_H -#include <sys/select.h> -#endif -#endif - #if HAVE_GETMNTINFO || HAVE_GETMNTINFO_R || HAVE_MNTCTL # define GETMNTENT_ONE 0 # define GETMNTENT_TWO 0 |