diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-19 16:40:49 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-19 16:40:49 +0000 |
commit | 677b18213e2f3cdbe7bb2c9df54a0e2488c89714 (patch) | |
tree | 4727cd1e0862c2b14bd4097b62b464fc4cdb6a9b /main.c | |
parent | 4530c10e628e181f5c464d1c4f3257f506b8f0ee (diff) | |
download | mandoc-677b18213e2f3cdbe7bb2c9df54a0e2488c89714.tar.gz |
Some Linux-isms.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -28,6 +28,13 @@ #include "mdoc.h" +#ifdef __linux__ +extern int getsubopt(char **, char * const *, char **); +# ifndef __dead +# define __dead __attribute__((__noreturn__)) +# endif +#endif + #define WARN_WALL 0x03 /* All-warnings mask. */ #define WARN_WCOMPAT (1 << 0) /* Compatibility warnings. */ #define WARN_WSYNTAX (1 << 1) /* Syntax warnings. */ |