Skip to content

Commit

Permalink
Fixes #308
Browse files Browse the repository at this point in the history
  • Loading branch information
quanah authored and nicowilliams committed Sep 25, 2017
1 parent 05d5277 commit f4bb4df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/libedit/src/sys.h
Expand Up @@ -48,6 +48,10 @@
#include <stdint.h>
#endif

#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif

#if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
# define __attribute__(A)
#endif
Expand Down

0 comments on commit f4bb4df

Please sign in to comment.