Skip to content

Commit

Permalink
Merge pull request #2304 from Alexander-Barth/main
Browse files Browse the repository at this point in the history
Include getopt.h if HAVE_GETOPT_H is defined
  • Loading branch information
WardF committed May 27, 2022
2 parents 8b9d7e8 + e7b21b5 commit 6a935c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ncdump/ncvalidator.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ THIS SOFTWARE.
*/

#include "config.h"
#ifdef HAVE_GETOPT_H
#include <getopt.h>
#endif
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h> /* open() */
Expand Down

0 comments on commit 6a935c6

Please sign in to comment.