I have the following code
\documentclass[12pt,a4paper,openany]{book}
\usepackage[utf8]{inputenc}
\usepackage[
left=1in,
right=1in,
top=1.25in,
bottom=1.25in,
headsep=30pt,
heightrounded
]{geometry}
\usepackage[x11names, svgnames, dvipsnames]{xcolor}
\usepackage{amsmath}
\numberwithin{equation}{subsection}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
%==============================================================
\usepackage{fancyhdr}
%\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
%\renewcommand{\sectionmark}[1]{\markright{#1}}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO]{\small\nouppercase{\rightmark}}
\fancyhead[RE]{\small\nouppercase{\leftmark}}
\renewcommand{\headrulewidth}{0pt}
%==============================================================
\newtheorem{theorem}{Theorem}[section]
\usepackage{lipsum}
\begin{document}
\pagenumbering{roman}
\thispagestyle{plain}
\tableofcontents
\addcontentsline{toc}{chapter}{Table of Contents}
\thispagestyle{plain}
\newpage
\pagenumbering{arabic}
\chapter{Preliminaries}
\section{Basics}
\lipsum[1-15]
\chapter{$C3$-Modules}
\lipsum[1-30]
\end{document}
As you see, chapter 3 has no sections. I need Chapter 3. $C3$-Modules appears in the header of every page of the chapter, not only in the even pages. I need this behaviour for those chapters which do not contain sections.